{"id":"CVE-2026-43458","summary":"serial: caif: hold tty-\u003elink reference in ldisc_open and ser_release","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: caif: hold tty-\u003elink 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-\u003elink-\u003eport.\n\nHold an extra kref on tty-\u003elink 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.","modified":"2026-07-15T01:49:16.017757200Z","published":"2026-05-08T14:22:21.997Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43458.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98"},{"type":"WEB","url":"https://git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089"},{"type":"WEB","url":"https://git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43458.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43458"},{"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":"e31d5a05948e4478ba8396063d1e1f39880928e2"},{"fixed":"23a3ac2e2262a291498567418227b99e1f3606b1"},{"fixed":"52135420e9f75853ea0c6cea7b736e3e98495f7d"},{"fixed":"ca2ceba983bb23ea0202c2882d963253416654a3"},{"fixed":"8460187b4852fd00bd1c76394358053f3fa4d089"},{"fixed":"27e43356d0defb9fc7fa25265219a3ffeb7b3e98"},{"fixed":"35b58d3bc716ebb9ebd10fe1cac8c1177242511c"},{"fixed":"97a0bb491cae39478c6225381f14e9ac67b7bba7"},{"fixed":"288598d80a068a0e9281de35bcb4ce495f189e2a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43458.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.35"},{"fixed":"5.10.253"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.203"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.167"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.130"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.78"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43458.json"}}],"schema_version":"1.7.5"}