[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050237-CVE-2023-53139-6557@gregkh>
Date: Fri, 2 May 2025 17:56:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53139: nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
devm_kmalloc_array may fails, *fw_vsc_cfg might be null and cause
out-of-bounds write in device_property_read_u8_array later.
The Linux kernel CVE team has assigned CVE-2023-53139 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 4.14.310 with commit ad11b872bc9b5d27e56183c6b01f9218c85395d2
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 4.19.278 with commit 98f49e693e02c1dafd5786be3468657840dd6f06
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 5.4.237 with commit 0a3664a1058d4b2b1ea2112cc275ca47fba7fc08
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 5.10.175 with commit 80be62358fa5507cefbaa067c7e6648401f2c3da
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 5.15.103 with commit 4357bbb921fe9e81d0fd9f70d669d1f177d8380e
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 6.1.20 with commit ce93f1afc05941a572f5a69e2ed4012af905a693
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 6.2.7 with commit 27824b2f98818215adc9661e563252c48dab1a13
Issue introduced in 4.4 with commit a06347c04c13e380afce0c9816df51f00b83faf1 and fixed in 6.3 with commit 11f180a5d62a51b484e9648f9b310e1bd50b1a57
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53139
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/nfc/fdp/i2c.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/ad11b872bc9b5d27e56183c6b01f9218c85395d2
https://git.kernel.org/stable/c/98f49e693e02c1dafd5786be3468657840dd6f06
https://git.kernel.org/stable/c/0a3664a1058d4b2b1ea2112cc275ca47fba7fc08
https://git.kernel.org/stable/c/80be62358fa5507cefbaa067c7e6648401f2c3da
https://git.kernel.org/stable/c/4357bbb921fe9e81d0fd9f70d669d1f177d8380e
https://git.kernel.org/stable/c/ce93f1afc05941a572f5a69e2ed4012af905a693
https://git.kernel.org/stable/c/27824b2f98818215adc9661e563252c48dab1a13
https://git.kernel.org/stable/c/11f180a5d62a51b484e9648f9b310e1bd50b1a57
Powered by blists - more mailing lists