{"id":"CVE-2026-53385","aliases":["CVE-2026-53385"],"related":[],"kind":"vulnerability","state":"published","title":"vc_screen: fix null-ptr-deref in vcs_notifier() during concurrent vcs_write","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvc_screen: fix null-ptr-deref in vcs_notifier() during concurrent vcs_write\n\nA KASAN null-ptr-deref was observed in vcs_notifier():\n\nBUG: KASAN: null-ptr-deref in vcs_notifier+0x98/0x130\nRead of size 2 at addr qmp_cmd_name: qmp_capabilities, arguments: {}\n\nThe issue is a race condition in vcs_write(). When the console_lock is\ntemporarily dropped (to copy data from userspace), the vc_data pointer\nobtained from vcs_vc() may become stale. After re-acquiring the lock,\nvcs_vc() is called again to re-validate the pointer. If the vc has been\ndeallocated in the meantime, vcs_vc() returns NULL, and the while loop\nbreaks (with written > 0). However, after the loop, vcs_scr_updated(vc)\nis still called with the now-NULL vc pointer, leading to a null pointer\ndereference in the notifier chain (vcs_notifier dereferences param->vc).\n\nFix this by adding a NULL check for vc before calling vcs_scr_updated().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvc_screen: fix null-ptr-deref in vcs_notifier() during concurrent vcs_write\n\nA KASAN null-ptr-deref was observed in vcs_notifier():\n\nBUG: KASAN: null-ptr-deref in vcs_notifier+0x98/0x130\nRead of size 2 at addr qmp_cmd_name: qmp_capabilities, arguments: {}\n\nThe issue is a race condition in vcs_write(). When the console_lock is\ntemporarily dropped (to copy data from userspace), the vc_data pointer\nobtained from vcs_vc() may become stale. After re-acquiring the lock,\nvcs_vc() is called again to re-validate the pointer. If the vc has been\ndeallocated in the meantime, vcs_vc() returns NULL, and the while loop\nbreaks (with written > 0). However, after the loop, vcs_scr_updated(vc)\nis still called with the now-NULL vc pointer, leading to a null pointer\ndereference in the notifier chain (vcs_notifier dereferences param->vc).\n\nFix this by adding a NULL check for vc before calling vcs_scr_updated().","source":"cvelist"}],"published":"2026-07-19T11:59:32.732Z","modified":"2026-11-06T17:18:28.240Z","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":"11dddfbb7a4e62489b01074d6c04d9d1b42e4047","fixed":"43a6281790273c1b0a9ab76609ff0245b968f1e6","status":"affected"},{"type":"git","introduced":"e3d1adcad5b73c7ed0c7edb35ab68abcaa45cf67","fixed":"b6bbb85cf45bf0b070e741997fe0af3a772c5ad5","status":"affected"},{"type":"git","introduced":"3338d0b9acde770ee588eead5cac32c25e7048fc","fixed":"ff4806202749a51938236214adc0281481a57366","status":"affected"},{"type":"git","introduced":"8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357","fixed":"8232fca738011ca2ec865b46ec721d1796dc0580","status":"affected"},{"type":"git","introduced":"8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357","fixed":"73049768ad57145acd337102c5aa3c788e6642c8","status":"affected"},{"type":"git","introduced":"8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357","fixed":"7cc3dd79777f6ae4625ec37e84dd18a26dc88bde","status":"affected"},{"type":"git","introduced":"8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357","fixed":"74be188eb2dc1c99d63986167b9a67d415fe7326","status":"affected"},{"type":"git","introduced":"8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357","fixed":"09a43e81279b8da15526da09877134b8bcf618b0","status":"affected"},{"type":"git","introduced":"8fb9ea65c9d1338b0d2bb0a9122dc942cdd32357","fixed":"a287620312dc6dcb9a093417a0e589bf30fcf38a","status":"affected"},{"type":"git","version":"934de9a9b659785fed3e820bc0c813a460c71fea","status":"affected"},{"type":"git","version":"0deff678157333d775af190f84696336cdcccd6d","status":"affected"},{"type":"git","version":"a4e3c4c65ae8510e01352c9a4347e05c035b2ce2","status":"affected"},{"type":"git","version":"1de42e7653d6714a7507ba6696151a1fa028c69f","status":"affected"},{"type":"semver","introduced":"5.10.181","fixed":"5.10.260","status":"affected"},{"type":"semver","introduced":"5.15.113","fixed":"5.15.211","status":"affected"},{"type":"semver","introduced":"6.1.30","fixed":"6.1.177","status":"affected"},{"type":"semver","introduced":"4.14.327","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.284","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.244","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.3.4","fixed":"6.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"5.10.260","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.211","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.177","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.144","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.95","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.37","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.14","lastAffected":"7.0.*","status":"unaffected"},{"type":"semver","introduced":"7.1.2","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","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":"4.14.327","fixed":"4.15"},{"status":"affected","introduced":"4.19.284","fixed":"4.20"},{"status":"affected","introduced":"5.4.244","fixed":"5.5"},{"status":"affected","introduced":"5.10.181","fixed":"5.10.260"},{"status":"affected","introduced":"5.15.113","fixed":"5.15.211"},{"status":"affected","introduced":"6.1.30","fixed":"6.1.177"},{"status":"affected","introduced":"6.3.4","fixed":"6.4"},{"status":"affected","introduced":"6.4.1","fixed":"6.6.144"},{"status":"affected","introduced":"6.7","fixed":"6.12.95"},{"status":"affected","introduced":"6.13","fixed":"6.18.37"},{"status":"affected","introduced":"6.19","fixed":"7.0.14"},{"status":"affected","introduced":"7.1","fixed":"7.1.2"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/43a6281790273c1b0a9ab76609ff0245b968f1e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6bbb85cf45bf0b070e741997fe0af3a772c5ad5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff4806202749a51938236214adc0281481a57366","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8232fca738011ca2ec865b46ec721d1796dc0580","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73049768ad57145acd337102c5aa3c788e6642c8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7cc3dd79777f6ae4625ec37e84dd18a26dc88bde","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/74be188eb2dc1c99d63986167b9a67d415fe7326","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09a43e81279b8da15526da09877134b8bcf618b0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a287620312dc6dcb9a093417a0e589bf30fcf38a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:28:26.328Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53385","url":"https://www.cve.org/CVERecord?id=CVE-2026-53385","licence":"CVE Terms of Use","modified":"2026-11-06T16:34:23.682Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53385","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53385","licence":"Public domain","modified":"2026-11-06T17:18:28.240Z"}],"updatedAt":"2026-11-25T22:59:28.688Z","epss":{"score":0.00133,"percentile":0.03021,"date":"2026-12-02T12:00:21.000Z"}}