{"id":"CVE-2026-23221","aliases":["CVE-2026-23221"],"related":[],"kind":"vulnerability","state":"published","title":"bus: fsl-mc: fix use-after-free in driver_override_show()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbus: fsl-mc: fix use-after-free in driver_override_show()\n\nThe driver_override_show() function reads the driver_override string\nwithout holding the device_lock. However, driver_override_store() uses\ndriver_set_override(), which modifies and frees the string while holding\nthe device_lock.\n\nThis can result in a concurrent use-after-free if the string is freed\nby the store function while being read by the show function.\n\nFix this by holding the device_lock around the read operation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbus: fsl-mc: fix use-after-free in driver_override_show()\n\nThe driver_override_show() function reads the driver_override string\nwithout holding the device_lock. However, driver_override_store() uses\ndriver_set_override(), which modifies and frees the string while holding\nthe device_lock.\n\nThis can result in a concurrent use-after-free if the string is freed\nby the store function while being read by the show function.\n\nFix this by holding the device_lock around the read operation.","source":"cvelist"},{"lang":"es","text":"Se ha resuelto la siguiente vulnerabilidad en el kernel de Linux:\n\nbus: fsl-mc: corrección de uso después de liberación en driver_override_show()\n\nLa función driver_override_show() lee la cadena driver_override sin mantener el device_lock. Sin embargo, driver_override_store() utiliza driver_set_override(), que modifica y libera la cadena mientras mantiene el device_lock.\n\nEsto puede resultar en un uso después de liberación concurrente si la cadena es liberada por la función store mientras es leída por la función show.\n\nSolucionar esto manteniendo el device_lock alrededor de la operación de lectura.","source":"nvd"}],"published":"2026-02-18T14:53:24.391Z","modified":"2026-06-17T10:21:07.717Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d","fixed":"c71dfb7833db7af652ee8f65011f14c97c47405d","status":"affected"},{"type":"git","introduced":"1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d","fixed":"c424e72cfa67e7e1477035058a8a659f2c0ea637","status":"affected"},{"type":"git","introduced":"1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d","fixed":"b1983840287303e0dfb401b1b6cecc5ea7471e90","status":"affected"},{"type":"git","introduced":"1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d","fixed":"dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227","status":"affected"},{"type":"git","introduced":"1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d","fixed":"1d6bd6183e723a7b256ff34bbb5b498b5f4f2ec0","status":"affected"},{"type":"git","introduced":"1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d","fixed":"a2ae33e1c6361e960a4d00f7cf75d880b54f9528","status":"affected"},{"type":"git","introduced":"1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d","fixed":"148891e95014b5dc5878acefa57f1940c281c431","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.15.201","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.164","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.127","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.74","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.11","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.1","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","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.10","fixed":"5.15.201"},{"status":"affected","introduced":"5.16","fixed":"6.1.164"},{"status":"affected","introduced":"6.2","fixed":"6.6.127"},{"status":"affected","introduced":"6.7","fixed":"6.12.74"},{"status":"affected","introduced":"6.13","fixed":"6.18.11"},{"status":"affected","introduced":"6.19","fixed":"6.19.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c71dfb7833db7af652ee8f65011f14c97c47405d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c424e72cfa67e7e1477035058a8a659f2c0ea637","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1983840287303e0dfb401b1b6cecc5ea7471e90","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd8ba8c0c3f3916d4ee1e3a09da9cd5caff5d227","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d6bd6183e723a7b256ff34bbb5b498b5f4f2ec0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2ae33e1c6361e960a4d00f7cf75d880b54f9528","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/148891e95014b5dc5878acefa57f1940c281c431","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23221","url":"https://www.cve.org/CVERecord?id=CVE-2026-23221","licence":"CVE Terms of Use","modified":"2026-05-11T22:02:39.852Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23221","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23221","licence":"Public domain","modified":"2026-06-17T10:21:07.717Z"}],"updatedAt":"2026-11-25T22:59:13.995Z","epss":{"score":0.00145,"percentile":0.03992,"date":"2026-12-01T12:00:22.000Z"}}