In the Linux kernel, the following vulnerability has been resolved:
i2c: core: fix adapter registration race
Adapters can be looked up based on their id using i2c_get_adapter()
which takes a reference to the embedded struct device.
Make sure that the adapter (including its struct device) has been
initialised before adding it to the IDR to avoid accessing uninitialised
data which could, for example, lead to NULL-pointer dereferences or
use-after-free.
Note that the i2c-dev chardev, which is registered from a bus notifier,
currently uses i2c_get_adapter() so the adapter needs to be added to the
IDR before registration.
CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
6e13e641841833cc2aa5baefe89bb04bc388801b builds before 2e57c788e71f1763445f812eba4e0b4a2fbd0646; from 6e13e641841833cc2aa5baefe89bb04bc388801b before a4365bc41baaf67f3a5aa8556d23544e6ec7480a; 6e13e641841833cc2aa5baefe89bb04bc388801b builds before 1febb174815bcae56d73587e99e8f87e02f0784d; from 6e13e641841833cc2aa5baefe89bb04bc388801b before da9d8d9711f78deebc202d0cffcf577e45ee8621; from 6e13e641841833cc2aa5baefe89bb04bc388801b before 78793c75dc6d0ff2e4d50ad617349b328a99054e; 6e13e641841833cc2aa5baefe89bb04bc388801b builds before 6a946038f2a5a8c29048c6af369d4e391448a5c5; from 6e13e641841833cc2aa5baefe89bb04bc388801b before a4c8094bbf4c6fa68b17e3b16f6a0a1b7a14f3e0; from 6e13e641841833cc2aa5baefe89bb04bc388801b before ba14d7cf2fe7284610a29854bdff22b2537d3ce6
from 2.6.22 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.