{"id":"CVE-2026-43458","aliases":["CVE-2026-43458"],"related":[],"kind":"vulnerability","state":"published","title":"serial: caif: hold tty->link reference in ldisc_open and ser_release","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: caif: hold tty->link reference in ldisc_open and ser_release\n\nA reproducer triggers a KASAN slab-use-after-free in pty_write_room()\nwhen caif_serial's TX path calls tty_write_room(). The faulting access\nis on tty->link->port.\n\nHold an extra kref on tty->link for the lifetime of the caif_serial line\ndiscipline: get it in ldisc_open() and drop it in ser_release(), and\nalso drop it on the ldisc_open() error path.\n\nWith this change applied, the reproducer no longer triggers the UAF in\nmy testing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: caif: hold tty->link reference in ldisc_open and ser_release\n\nA reproducer triggers a KASAN slab-use-after-free in pty_write_room()\nwhen caif_serial's TX path calls tty_write_room(). The faulting access\nis on tty->link->port.\n\nHold an extra kref on tty->link for the lifetime of the caif_serial line\ndiscipline: get it in ldisc_open() and drop it in ser_release(), and\nalso drop it on the ldisc_open() error path.\n\nWith this change applied, the reproducer no longer triggers the UAF in\nmy testing.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nserial: caif: mantener la referencia tty  ->  link en ldisc_open y ser_release\n\nUn reproductor activa un KASAN slab-uso después de liberación en pty_write_room() cuando la ruta TX de caif_serial llama a tty_write_room(). El acceso defectuoso es en tty  ->  link  ->  port.\n\nMantener una kref adicional en tty  ->  link durante la vida útil de la disciplina de línea caif_serial: obtenerla en ldisc_open() y liberarla en ser_release(), y también liberarla en la ruta de error de ldisc_open().\n\nCon este cambio aplicado, el reproductor ya no activa el UAF en mis pruebas.","source":"nvd"}],"published":"2026-05-08T14:22:21.997Z","modified":"2026-11-11T20:10:00.273Z","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":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"23a3ac2e2262a291498567418227b99e1f3606b1","status":"affected"},{"type":"git","introduced":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"52135420e9f75853ea0c6cea7b736e3e98495f7d","status":"affected"},{"type":"git","introduced":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"ca2ceba983bb23ea0202c2882d963253416654a3","status":"affected"},{"type":"git","introduced":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"8460187b4852fd00bd1c76394358053f3fa4d089","status":"affected"},{"type":"git","introduced":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"27e43356d0defb9fc7fa25265219a3ffeb7b3e98","status":"affected"},{"type":"git","introduced":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"35b58d3bc716ebb9ebd10fe1cac8c1177242511c","status":"affected"},{"type":"git","introduced":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"97a0bb491cae39478c6225381f14e9ac67b7bba7","status":"affected"},{"type":"git","introduced":"e31d5a05948e4478ba8396063d1e1f39880928e2","fixed":"288598d80a068a0e9281de35bcb4ce495f189e2a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.35","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.35","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","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":"2.6.35","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43458","url":"https://www.cve.org/CVERecord?id=CVE-2026-43458","licence":"CVE Terms of Use","modified":"2026-05-11T22:24:58.635Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43458","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43458","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.080Z","epss":{"score":0.00171,"percentile":0.03752,"date":"2026-11-30T12:00:22.000Z"}}