CVE-2026-43458 (GCVE-0-2026-43458)
Vulnerability from cvelistv5 – Published: 2026-05-08 14:22 – Updated: 2026-05-08 14:22
VLAI?
Title
serial: caif: hold tty->link reference in ldisc_open and ser_release
Summary
In 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.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
e31d5a05948e4478ba8396063d1e1f39880928e2 , < 23a3ac2e2262a291498567418227b99e1f3606b1
(git)
Affected: e31d5a05948e4478ba8396063d1e1f39880928e2 , < 52135420e9f75853ea0c6cea7b736e3e98495f7d (git) Affected: e31d5a05948e4478ba8396063d1e1f39880928e2 , < ca2ceba983bb23ea0202c2882d963253416654a3 (git) Affected: e31d5a05948e4478ba8396063d1e1f39880928e2 , < 8460187b4852fd00bd1c76394358053f3fa4d089 (git) Affected: e31d5a05948e4478ba8396063d1e1f39880928e2 , < 27e43356d0defb9fc7fa25265219a3ffeb7b3e98 (git) Affected: e31d5a05948e4478ba8396063d1e1f39880928e2 , < 35b58d3bc716ebb9ebd10fe1cac8c1177242511c (git) Affected: e31d5a05948e4478ba8396063d1e1f39880928e2 , < 97a0bb491cae39478c6225381f14e9ac67b7bba7 (git) Affected: e31d5a05948e4478ba8396063d1e1f39880928e2 , < 288598d80a068a0e9281de35bcb4ce495f189e2a (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/caif/caif_serial.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "23a3ac2e2262a291498567418227b99e1f3606b1",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
},
{
"lessThan": "52135420e9f75853ea0c6cea7b736e3e98495f7d",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
},
{
"lessThan": "ca2ceba983bb23ea0202c2882d963253416654a3",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
},
{
"lessThan": "8460187b4852fd00bd1c76394358053f3fa4d089",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
},
{
"lessThan": "27e43356d0defb9fc7fa25265219a3ffeb7b3e98",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
},
{
"lessThan": "35b58d3bc716ebb9ebd10fe1cac8c1177242511c",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
},
{
"lessThan": "97a0bb491cae39478c6225381f14e9ac67b7bba7",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
},
{
"lessThan": "288598d80a068a0e9281de35bcb4ce495f189e2a",
"status": "affected",
"version": "e31d5a05948e4478ba8396063d1e1f39880928e2",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/net/caif/caif_serial.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.35"
},
{
"lessThan": "2.6.35",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.253",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.203",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.167",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.130",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.78",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.19",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"version": "6.19.9",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.253",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.203",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.167",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.130",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.78",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.19",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.9",
"versionStartIncluding": "2.6.35",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "2.6.35",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"providerMetadata": {
"dateUpdated": "2026-05-08T14:22:21.997Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1"
},
{
"url": "https://git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d"
},
{
"url": "https://git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3"
},
{
"url": "https://git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089"
},
{
"url": "https://git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98"
},
{
"url": "https://git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c"
},
{
"url": "https://git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7"
},
{
"url": "https://git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a"
}
],
"title": "serial: caif: hold tty-\u003elink reference in ldisc_open and ser_release",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-43458",
"datePublished": "2026-05-08T14:22:21.997Z",
"dateReserved": "2026-05-01T14:12:56.010Z",
"dateUpdated": "2026-05-08T14:22:21.997Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2026-43458\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T15:16:58.630\",\"lastModified\":\"2026-05-08T15:16:58.630\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027s 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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…