{"id":"CVE-2025-23147","aliases":["CVE-2025-23147"],"related":[],"kind":"vulnerability","state":"published","title":"i3c: Add NULL pointer check in i3c_master_queue_ibi()","summary":"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->ibi = 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->ibi` 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->ibi`, ensuring stability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->ibi = 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->ibi` 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->ibi`, ensuring stability.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i3c: Añadir comprobación de puntero nulo en i3c_master_queue_ibi(). El controlador maestro I3C puede recibir una IBI de un dispositivo de destino que aún no se ha sondeado. En tales casos, el maestro llama a `i3c_master_queue_ibi()` para poner en cola una tarea de trabajo IBI, lo que genera el error \"No se puede manejar la lectura del kernel desde memoria ilegible\" y provoca un pánico del kernel. Flujo típico de manejo de IBI: 1. El maestro I3C escanea los dispositivos de destino y sondea sus respectivos controladores. 2. El controlador del dispositivo de destino llama a `i3c_device_request_ibi()` para habilitar IBI y asigna `dev-&gt;ibi = ibi`. 3. El maestro I3C recibe una IBI del dispositivo de destino y llama a `i3c_master_queue_ibi()` para poner en cola la tarea de manejo de IBI del controlador del dispositivo de destino. Sin embargo, dado que los eventos del dispositivo de destino son asíncronos a la secuencia de sondeo I3C, el paso 3 puede ocurrir antes del paso 2, lo que provoca que `dev-&gt;ibi` sea `NULL` y provoque un pánico del kernel. Agregue una comprobación de puntero NULL en `i3c_master_queue_ibi()` para evitar el acceso a un `dev-&gt;ibi` sin inicializar, garantizando así la estabilidad.","source":"nvd"}],"published":"2025-05-01T12:55:36.099Z","modified":"2026-11-05T21:17:50.507Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"1b54faa5f47fa7c642179744aeff03f0810dc62e","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"09359e7c8751961937cb5fc50220969b0a4e1058","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"3ba402610843d7d15c7f3966a461deeeaff7fba4","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"d83b0c03ef8fbea2f03029a1cc1f5041f0e1d47f","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"6871a676aa534e8f218279672e0445c725f81026","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"e6bba328578feb58c614c11868c259b40484c5fa","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"fe4a4fc179b7898055555a11685915473588392e","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"ff9d61db59bb27d16d3f872bff2620d50856b80c","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"bd496a44f041da9ef3afe14d1d6193d460424e91","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.293","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.237","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.181","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.135","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.88","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.24","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.12","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.3","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.4.293"},{"status":"affected","introduced":"5.5","fixed":"5.10.237"},{"status":"affected","introduced":"5.11","fixed":"5.15.181"},{"status":"affected","introduced":"5.16","fixed":"6.1.135"},{"status":"affected","introduced":"6.2","fixed":"6.6.88"},{"status":"affected","introduced":"6.7","fixed":"6.12.24"},{"status":"affected","introduced":"6.13","fixed":"6.13.12"},{"status":"affected","introduced":"6.14","fixed":"6.14.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1b54faa5f47fa7c642179744aeff03f0810dc62e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09359e7c8751961937cb5fc50220969b0a4e1058","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ba402610843d7d15c7f3966a461deeeaff7fba4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d83b0c03ef8fbea2f03029a1cc1f5041f0e1d47f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6871a676aa534e8f218279672e0445c725f81026","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6bba328578feb58c614c11868c259b40484c5fa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe4a4fc179b7898055555a11685915473588392e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff9d61db59bb27d16d3f872bff2620d50856b80c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd496a44f041da9ef3afe14d1d6193d460424e91","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["mailing-list"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:39:36.546Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-23147","url":"https://www.cve.org/CVERecord?id=CVE-2025-23147","licence":"CVE Terms of Use","modified":"2026-11-05T20:41:52.080Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-23147","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23147","licence":"Public domain","modified":"2026-11-05T21:17:50.507Z"}],"updatedAt":"2026-11-25T22:58:57.263Z","epss":{"score":0.00219,"percentile":0.13188,"date":"2026-12-01T12:00:22.000Z"}}