{"id":"CVE-2025-23147","summary":"i3c: Add NULL pointer check in i3c_master_queue_ibi()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: Add NULL pointer check in i3c_master_queue_ibi()\n\nThe I3C master driver may receive an IBI from a target device that has not\nbeen probed yet. In such cases, the master calls `i3c_master_queue_ibi()`\nto queue an IBI work task, leading to \"Unable to handle kernel read from\nunreadable memory\" and resulting in a kernel panic.\n\nTypical IBI handling flow:\n1. The I3C master scans target devices and probes their respective drivers.\n2. The target device driver calls `i3c_device_request_ibi()` to enable IBI\n   and assigns `dev-\u003eibi = ibi`.\n3. The I3C master receives an IBI from the target device and calls\n   `i3c_master_queue_ibi()` to queue the target device driver’s IBI\n   handler task.\n\nHowever, since target device events are asynchronous to the I3C probe\nsequence, step 3 may occur before step 2, causing `dev-\u003eibi` to be `NULL`,\nleading to a kernel panic.\n\nAdd a NULL pointer check in `i3c_master_queue_ibi()` to prevent accessing\nan uninitialized `dev-\u003eibi`, ensuring stability.","modified":"2026-04-02T12:45:23.537953Z","published":"2025-05-01T12:55:36.099Z","related":["SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23147.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09359e7c8751961937cb5fc50220969b0a4e1058"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b54faa5f47fa7c642179744aeff03f0810dc62e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ba402610843d7d15c7f3966a461deeeaff7fba4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6871a676aa534e8f218279672e0445c725f81026"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd496a44f041da9ef3afe14d1d6193d460424e91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d83b0c03ef8fbea2f03029a1cc1f5041f0e1d47f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6bba328578feb58c614c11868c259b40484c5fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe4a4fc179b7898055555a11685915473588392e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff9d61db59bb27d16d3f872bff2620d50856b80c"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23147.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23147"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0"},{"fixed":"1b54faa5f47fa7c642179744aeff03f0810dc62e"},{"fixed":"09359e7c8751961937cb5fc50220969b0a4e1058"},{"fixed":"3ba402610843d7d15c7f3966a461deeeaff7fba4"},{"fixed":"d83b0c03ef8fbea2f03029a1cc1f5041f0e1d47f"},{"fixed":"6871a676aa534e8f218279672e0445c725f81026"},{"fixed":"e6bba328578feb58c614c11868c259b40484c5fa"},{"fixed":"fe4a4fc179b7898055555a11685915473588392e"},{"fixed":"ff9d61db59bb27d16d3f872bff2620d50856b80c"},{"fixed":"bd496a44f041da9ef3afe14d1d6193d460424e91"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-23147.json"}}],"schema_version":"1.7.5"}