CVE-2026-43376 (GCVE-0-2026-43376)
Vulnerability from cvelistv5 – Published: 2026-05-08 14:21 – Updated: 2026-05-08 14:21
VLAI?
Title
ksmbd: fix use-after-free by using call_rcu() for oplock_info
Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free by using call_rcu() for oplock_info
ksmbd currently frees oplock_info immediately using kfree(), even
though it is accessed under RCU read-side critical sections in places
like opinfo_get() and proc_show_files().
Since there is no RCU grace period delay between nullifying the pointer
and freeing the memory, a reader can still access oplock_info
structure after it has been freed. This can leads to a use-after-free
especially in opinfo_get() where atomic_inc_not_zero() is called on
already freed memory.
Fix this by switching to deferred freeing using call_rcu().
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
296cb5457cc6f4a754c4ae29855f8a253d52bcc6 , < 302fef75512b2c8329a3f5efab1ae7ba2562387a
(git)
Affected: d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 , < 08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c (git) Affected: 18b4fac5ef17f77fed9417d22210ceafd6525fc7 , < 1d6abf145615dbfe267ce3b0a271f95e3780e18e (git) Affected: 18b4fac5ef17f77fed9417d22210ceafd6525fc7 , < ce8507ee82c888126d8e7565e27c016308d24cde (git) Affected: 18b4fac5ef17f77fed9417d22210ceafd6525fc7 , < 1dfd062caa165ec9d7ee0823087930f3ab8a6294 (git) Affected: d73686367ad68534257cd88a36ca3c52cb8b81d8 (git) |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/server/oplock.c",
"fs/smb/server/oplock.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "302fef75512b2c8329a3f5efab1ae7ba2562387a",
"status": "affected",
"version": "296cb5457cc6f4a754c4ae29855f8a253d52bcc6",
"versionType": "git"
},
{
"lessThan": "08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c",
"status": "affected",
"version": "d54ab1520d43e95f9b2e22d7a05fc9614192e5a5",
"versionType": "git"
},
{
"lessThan": "1d6abf145615dbfe267ce3b0a271f95e3780e18e",
"status": "affected",
"version": "18b4fac5ef17f77fed9417d22210ceafd6525fc7",
"versionType": "git"
},
{
"lessThan": "ce8507ee82c888126d8e7565e27c016308d24cde",
"status": "affected",
"version": "18b4fac5ef17f77fed9417d22210ceafd6525fc7",
"versionType": "git"
},
{
"lessThan": "1dfd062caa165ec9d7ee0823087930f3ab8a6294",
"status": "affected",
"version": "18b4fac5ef17f77fed9417d22210ceafd6525fc7",
"versionType": "git"
},
{
"status": "affected",
"version": "d73686367ad68534257cd88a36ca3c52cb8b81d8",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/server/oplock.c",
"fs/smb/server/oplock.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.15"
},
{
"lessThan": "6.15",
"status": "unaffected",
"version": "0",
"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": "6.6.130",
"versionStartIncluding": "6.6.88",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.78",
"versionStartIncluding": "6.12.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.19",
"versionStartIncluding": "6.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.9",
"versionStartIncluding": "6.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "6.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.14.4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free by using call_rcu() for oplock_info\n\nksmbd currently frees oplock_info immediately using kfree(), even\nthough it is accessed under RCU read-side critical sections in places\nlike opinfo_get() and proc_show_files().\n\nSince there is no RCU grace period delay between nullifying the pointer\nand freeing the memory, a reader can still access oplock_info\nstructure after it has been freed. This can leads to a use-after-free\nespecially in opinfo_get() where atomic_inc_not_zero() is called on\nalready freed memory.\n\nFix this by switching to deferred freeing using call_rcu()."
}
],
"providerMetadata": {
"dateUpdated": "2026-05-08T14:21:25.854Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/302fef75512b2c8329a3f5efab1ae7ba2562387a"
},
{
"url": "https://git.kernel.org/stable/c/08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c"
},
{
"url": "https://git.kernel.org/stable/c/1d6abf145615dbfe267ce3b0a271f95e3780e18e"
},
{
"url": "https://git.kernel.org/stable/c/ce8507ee82c888126d8e7565e27c016308d24cde"
},
{
"url": "https://git.kernel.org/stable/c/1dfd062caa165ec9d7ee0823087930f3ab8a6294"
}
],
"title": "ksmbd: fix use-after-free by using call_rcu() for oplock_info",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-43376",
"datePublished": "2026-05-08T14:21:25.854Z",
"dateReserved": "2026-05-01T14:12:56.006Z",
"dateUpdated": "2026-05-08T14:21:25.854Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-43376",
"date": "2026-05-09",
"epss": "0.00018",
"percentile": "0.04917"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-43376\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T15:16:48.760\",\"lastModified\":\"2026-05-08T15:16:48.760\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nksmbd: fix use-after-free by using call_rcu() for oplock_info\\n\\nksmbd currently frees oplock_info immediately using kfree(), even\\nthough it is accessed under RCU read-side critical sections in places\\nlike opinfo_get() and proc_show_files().\\n\\nSince there is no RCU grace period delay between nullifying the pointer\\nand freeing the memory, a reader can still access oplock_info\\nstructure after it has been freed. This can leads to a use-after-free\\nespecially in opinfo_get() where atomic_inc_not_zero() is called on\\nalready freed memory.\\n\\nFix this by switching to deferred freeing using call_rcu().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/08aa9f3c8cf4d0bee44df540dfe34e8d64069f2c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1d6abf145615dbfe267ce3b0a271f95e3780e18e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1dfd062caa165ec9d7ee0823087930f3ab8a6294\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/302fef75512b2c8329a3f5efab1ae7ba2562387a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ce8507ee82c888126d8e7565e27c016308d24cde\",\"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…