CVE-2026-99401 (GCVE-0-2026-99401)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:23 – Updated: 2026-11-22 11:08
VLAI
EPSS
VEX
Title
rtnetlink: wait for RCU readers in rtnl_link_unregister()
Summary
In the Linux kernel, the following vulnerability has been resolved:
rtnetlink: wait for RCU readers in rtnl_link_unregister()
rtnl_link_ops_get() finds ops on link_ops under rcu_read_lock() and only
then takes ops->srcu. rtnl_link_unregister() unlinks ops, then calls
synchronize_srcu() and cleanup_srcu_struct() without first waiting for
RCU readers. A reader that found ops before list_del_rcu() and has not yet
taken ops->srcu is not waited for.
Such a reader then locks a cleaned-up srcu_struct and keeps using ops
after the module that owns it is gone. rtnl_newlink() and
rtnl_dump_ifinfo() both look up ops without RTNL, the latter for any
user that dumps links filtered by kind.
With delays added between the lookup and srcu_read_lock() in
rtnl_link_ops_get(), and before rtnl_link_ops_put() in
rtnl_dump_ifinfo(), running "ip link show type dummy" alongside
"rmmod dummy" on a KASAN kernel gives:
BUG: KASAN: vmalloc-out-of-bounds in __srcu_read_unlock+0x57/0x70
Read of size 8 at addr ffffffffc02ff318 by task ip/147
Call Trace:
__srcu_read_unlock+0x57/0x70
rtnl_dump_ifinfo.cold+0x30/0x3b
rtnl_dumpit+0x7a/0x1b0
netlink_dump+0x486/0x11b0
__netlink_dump_start+0x661/0x910
rtnetlink_rcv_msg+0x611/0x9e0
netlink_rcv_skb+0x126/0x380
netlink_unicast+0x605/0x830
netlink_sendmsg+0x6d0/0xbb0
__sys_sendto+0x335/0x3a0
Call synchronize_rcu() before synchronize_srcu(), as
rtnl_af_unregister() already does. This should be enough because
rtnl_link_ops_get() is the only RCU walker of link_ops, and it takes
ops->srcu before rcu_read_unlock(), so every reader that found ops is
covered by synchronize_srcu() once the RCU grace period ends. The extra
grace period only costs time at module unload.
Readers and the writer were serialized by RTNL until link_ops got its
own mutex, which is why the missing RCU wait did not matter before.
Severity
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
6b57ff21a3109b1dba2d286ff415463e6fb1fca3 , < 9e3a6b707681a6291a410d1b7ce15840a9912a86
(git)
Affected: 6b57ff21a3109b1dba2d286ff415463e6fb1fca3 , < ee636421740bc47e9d9e612ca7c9fa7dc5d17be1 (git) Affected: 6b57ff21a3109b1dba2d286ff415463e6fb1fca3 , < 3b70edea393de445255da6c706eebb823117a955 (git) |
|
| Linux | Linux |
Affected:
6.13
Unaffected: 0 , < 6.13 (semver) Unaffected: 6.18.61 , ≤ 6.18.* (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/core/rtnetlink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "9e3a6b707681a6291a410d1b7ce15840a9912a86",
"status": "affected",
"version": "6b57ff21a3109b1dba2d286ff415463e6fb1fca3",
"versionType": "git"
},
{
"lessThan": "ee636421740bc47e9d9e612ca7c9fa7dc5d17be1",
"status": "affected",
"version": "6b57ff21a3109b1dba2d286ff415463e6fb1fca3",
"versionType": "git"
},
{
"lessThan": "3b70edea393de445255da6c706eebb823117a955",
"status": "affected",
"version": "6b57ff21a3109b1dba2d286ff415463e6fb1fca3",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/core/rtnetlink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.13"
},
{
"lessThan": "6.13",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "6.13",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrtnetlink: wait for RCU readers in rtnl_link_unregister()\n\nrtnl_link_ops_get() finds ops on link_ops under rcu_read_lock() and only\nthen takes ops-\u003esrcu. rtnl_link_unregister() unlinks ops, then calls\nsynchronize_srcu() and cleanup_srcu_struct() without first waiting for\nRCU readers. A reader that found ops before list_del_rcu() and has not yet\ntaken ops-\u003esrcu is not waited for.\n\nSuch a reader then locks a cleaned-up srcu_struct and keeps using ops\nafter the module that owns it is gone. rtnl_newlink() and\nrtnl_dump_ifinfo() both look up ops without RTNL, the latter for any\nuser that dumps links filtered by kind.\n\nWith delays added between the lookup and srcu_read_lock() in\nrtnl_link_ops_get(), and before rtnl_link_ops_put() in\nrtnl_dump_ifinfo(), running \"ip link show type dummy\" alongside\n\"rmmod dummy\" on a KASAN kernel gives:\n\n BUG: KASAN: vmalloc-out-of-bounds in __srcu_read_unlock+0x57/0x70\n Read of size 8 at addr ffffffffc02ff318 by task ip/147\n Call Trace:\n __srcu_read_unlock+0x57/0x70\n rtnl_dump_ifinfo.cold+0x30/0x3b\n rtnl_dumpit+0x7a/0x1b0\n netlink_dump+0x486/0x11b0\n __netlink_dump_start+0x661/0x910\n rtnetlink_rcv_msg+0x611/0x9e0\n netlink_rcv_skb+0x126/0x380\n netlink_unicast+0x605/0x830\n netlink_sendmsg+0x6d0/0xbb0\n __sys_sendto+0x335/0x3a0\n\nCall synchronize_rcu() before synchronize_srcu(), as\nrtnl_af_unregister() already does. This should be enough because\nrtnl_link_ops_get() is the only RCU walker of link_ops, and it takes\nops-\u003esrcu before rcu_read_unlock(), so every reader that found ops is\ncovered by synchronize_srcu() once the RCU grace period ends. The extra\ngrace period only costs time at module unload.\n\nReaders and the writer were serialized by RTNL until link_ops got its\nown mutex, which is why the missing RCU wait did not matter before."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - rtnl_link_unregister() is reached from a link module\u0027s module_exit (dummy_cleanup_module() in the published repro) via delete_module(). The racing lookup is a local sendmsg of RTM_GETLINK with IFLA_INFO_KIND into rtnl_dump_ifinfo()\u2192rtnl_link_ops_get(), or RTM_NEWLINK into rtnl_newlink(). No remote protocol message carries that kind string or the unload.\nAC:H - The netlink lookup can be repeated, but rtnl_link_unregister() runs only on module exit or init failure. delete_module() requires capable(CAP_SYS_MODULE) in the init user namespace, which the dumper cannot get via unshare -Urn. Winning the gap between strcmp(ops-\u003ekind) and srcu_read_lock() in rtnl_link_ops_get() therefore depends on an administrator\u0027s rmmod, as in the \"ip link show type dummy\" repro.\nPR:L - rtnetlink_rcv_msg() skips the CAP_NET_ADMIN check for RTNL_KIND_GET, so a local user can dump links filtered by IFLA_INFO_KIND and enter rtnl_link_ops_get(). RTM_NEWLINK only needs netlink_net_capable(CAP_NET_ADMIN), which a user namespace has. Neither path grants the init-namespace CAP_SYS_MODULE that delete_module() demands.\nUI:N - The attacker opens a NETLINK_ROUTE socket and sends the RTM_GETLINK dump or RTM_NEWLINK themselves. The administrator rmmod that reaches rtnl_link_unregister() is the precondition already counted under AC.\nS:U - The use-after-free stays in the host kernel: __srcu_read_unlock() and rtnl_newlink() consume the unloaded module\u0027s rtnl_link_ops and embedded srcu_struct in the same security authority as the netlink socket.\nC:H - A reader that matched ops in rtnl_link_ops_get() but missed synchronize_srcu() still runs __srcu_read_unlock(), which loads ssp-\u003esda from the module image after free_module() (KASAN read of 8 bytes at a module address). rtnl_newlink() also reads ops-\u003epolicy and ops-\u003emaxtype in that window; reclaiming the image makes those loads a kernel read primitive.\nI:H - cleanup_srcu_struct() free_percpu()s ssp-\u003esda without clearing ssp-\u003esrcu_ctrp, so the late __srcu_read_lock() this_cpu_inc()s freed percpu memory. rtnl_newlink() and rtnl_create_link() then call ops-\u003evalidate, ops-\u003esetup/ops-\u003ealloc, and ops-\u003enewlink in the unloaded module, a control-flow hijack once that text is reused.\nA:H - Racing \"ip link show type dummy\" with \"rmmod dummy\" oopses in __srcu_read_unlock() from rtnl_dump_ifinfo() (KASAN vmalloc-out-of-bounds on the freed dummy module). Without KASAN, the same load from the unmapped module faults."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-22T11:08:07.697Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/9e3a6b707681a6291a410d1b7ce15840a9912a86"
},
{
"url": "https://git.kernel.org/stable/c/ee636421740bc47e9d9e612ca7c9fa7dc5d17be1"
},
{
"url": "https://git.kernel.org/stable/c/3b70edea393de445255da6c706eebb823117a955"
}
],
"title": "rtnetlink: wait for RCU readers in rtnl_link_unregister()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99401",
"datePublished": "2026-11-19T14:23:38.430Z",
"dateReserved": "2026-09-25T10:25:14.412Z",
"dateUpdated": "2026-11-22T11:08:07.697Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99401",
"date": "2026-11-22",
"epss": "0.00213",
"percentile": "0.1156"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/core/rtnetlink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "9e3a6b707681a6291a410d1b7ce15840a9912a86",
"status": "affected",
"version": "6b57ff21a3109b1dba2d286ff415463e6fb1fca3",
"versionType": "git"
},
{
"lessThan": "ee636421740bc47e9d9e612ca7c9fa7dc5d17be1",
"status": "affected",
"version": "6b57ff21a3109b1dba2d286ff415463e6fb1fca3",
"versionType": "git"
},
{
"lessThan": "3b70edea393de445255da6c706eebb823117a955",
"status": "affected",
"version": "6b57ff21a3109b1dba2d286ff415463e6fb1fca3",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/core/rtnetlink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.13"
},
{
"lessThan": "6.13",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrtnetlink: wait for RCU readers in rtnl_link_unregister()\n\nrtnl_link_ops_get() finds ops on link_ops under rcu_read_lock() and only\nthen takes ops-\u003esrcu. rtnl_link_unregister() unlinks ops, then calls\nsynchronize_srcu() and cleanup_srcu_struct() without first waiting for\nRCU readers. A reader that found ops before list_del_rcu() and has not yet\ntaken ops-\u003esrcu is not waited for.\n\nSuch a reader then locks a cleaned-up srcu_struct and keeps using ops\nafter the module that owns it is gone. rtnl_newlink() and\nrtnl_dump_ifinfo() both look up ops without RTNL, the latter for any\nuser that dumps links filtered by kind.\n\nWith delays added between the lookup and srcu_read_lock() in\nrtnl_link_ops_get(), and before rtnl_link_ops_put() in\nrtnl_dump_ifinfo(), running \"ip link show type dummy\" alongside\n\"rmmod dummy\" on a KASAN kernel gives:\n\n BUG: KASAN: vmalloc-out-of-bounds in __srcu_read_unlock+0x57/0x70\n Read of size 8 at addr ffffffffc02ff318 by task ip/147\n Call Trace:\n __srcu_read_unlock+0x57/0x70\n rtnl_dump_ifinfo.cold+0x30/0x3b\n rtnl_dumpit+0x7a/0x1b0\n netlink_dump+0x486/0x11b0\n __netlink_dump_start+0x661/0x910\n rtnetlink_rcv_msg+0x611/0x9e0\n netlink_rcv_skb+0x126/0x380\n netlink_unicast+0x605/0x830\n netlink_sendmsg+0x6d0/0xbb0\n __sys_sendto+0x335/0x3a0\n\nCall synchronize_rcu() before synchronize_srcu(), as\nrtnl_af_unregister() already does. This should be enough because\nrtnl_link_ops_get() is the only RCU walker of link_ops, and it takes\nops-\u003esrcu before rcu_read_unlock(), so every reader that found ops is\ncovered by synchronize_srcu() once the RCU grace period ends. The extra\ngrace period only costs time at module unload.\n\nReaders and the writer were serialized by RTNL until link_ops got its\nown mutex, which is why the missing RCU wait did not matter before."
}
],
"id": "CVE-2026-99401",
"lastModified": "2026-11-22T11:16:50.650",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.0,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.0,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-11-19T15:17:52.610",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/3b70edea393de445255da6c706eebb823117a955"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9e3a6b707681a6291a410d1b7ce15840a9912a86"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ee636421740bc47e9d9e612ca7c9fa7dc5d17be1"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-22T11:33:00+00:00",
"cve": "CVE-2026-99401",
"id": "CVE-2026-99401",
"initial_release_date": "2026-11-19T14:23:38.430000+00:00",
"product_status:known_affected": "15",
"product_status:known_not_affected": "189",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via race condition in rtnl_link_unregister()",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99401.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-11-20T17:46:53Z",
"cve": "CVE-2026-99401",
"id": "CVE-2026-99401",
"initial_release_date": "2026-11-20T17:46:53Z",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-99401",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99401.json",
"version": "2"
}
}
}
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…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…