serial: caif: hold tty->link reference in ldisc_open and ser_release

Summary

CVECVE-2026-43458
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-08 15:16:58 UTC
Updated2026-05-12 14:10:27 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: serial: caif: hold tty->link reference in ldisc_open and ser_release A reproducer triggers a KASAN slab-use-after-free in pty_write_room() when caif_serial's TX path calls tty_write_room(). The faulting access is on tty->link->port. Hold an extra kref on tty->link for the lifetime of the caif_serial line discipline: get it in ldisc_open() and drop it in ser_release(), and also drop it on the ldisc_open() error path. With this change applied, the reproducer no longer triggers the UAF in my testing.

Risk And Classification

EPSS: 0.000240000 probability, percentile 0.070360000 (date 2026-05-12)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 23a3ac2e2262a291498567418227b99e1f3606b1 git Not specified
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 52135420e9f75853ea0c6cea7b736e3e98495f7d git Not specified
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 ca2ceba983bb23ea0202c2882d963253416654a3 git Not specified
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 8460187b4852fd00bd1c76394358053f3fa4d089 git Not specified
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 27e43356d0defb9fc7fa25265219a3ffeb7b3e98 git Not specified
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 35b58d3bc716ebb9ebd10fe1cac8c1177242511c git Not specified
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 97a0bb491cae39478c6225381f14e9ac67b7bba7 git Not specified
CNA Linux Linux affected e31d5a05948e4478ba8396063d1e1f39880928e2 288598d80a068a0e9281de35bcb4ce495f189e2a git Not specified
CNA Linux Linux affected 2.6.35 Not specified
CNA Linux Linux unaffected 2.6.35 semver Not specified
CNA Linux Linux unaffected 5.10.253 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.203 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.167 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.130 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.78 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.19 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.9 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report