CVE-2026-98812: net/mctp: publish the mctp_dev only after it is initialised
Vulnerability summary
CVE-2026-98812 is a medium (CVSS 5.6) vulnerability in linux. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.7% of scored vulnerabilities.
Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 22 · Related 19Timeline
- 18-10-2026PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: net/mctp: publish the mctp_dev only after it is initialised mctp_add_dev() links the new mctp_dev into dev->mctp_ptr before mdev->dev is assigned, so a reader that picks the device up in that window dereferences a net_device pointer that is still NULL: KASAN: null-ptr-deref in range [0x00000000000000b0-0x00000000000000b7] Call Trace: <TASK> ? __pfx_mctp_sendmsg (./include/linux/sockptr.h:49) ? __pfx_mctp_dst_output (net/mctp/route.c:41) ? selinux_socket_sendmsg (security/selinux/hooks.c:5278) ____sys_sendmsg (net/socket.c:775 (discriminator 1) net/socket.c:790 (discriminator 1) net/socket.c:2684 (discriminator 1)) ? __pfx_____sys_sendmsg (net/socket.c:1131) ? __pfx_copy_msghdr_from_user (net/socket.c:2590) ? update_cfs_rq_load_avg (kernel/sched/fair.c:5478) ___sys_sendmsg (net/socket.c:2738) ? __pfx____sys_sendmsg (net/socket.c:2625) ? perf_event_task_tick (./include/linux/rcupdate.h:838) ? sched_tick (kernel/sched/core.c:5818) ? clockevents_program_event (kernel/time/clockevents.c:372) ? fdget (./include/linux/rcupdate.h:873 fs/file.c:1100) __sys_sendmsg (net/socket.c:2770) ? __pfx___sys_sendmsg (net/socket.c:2751) do_syscall_64 (arch/x86/entry/syscall_64.c:63) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) </TASK> Fix by publishing only once the object is fully initialised: __mctp_dev_get() runs under rcu_read_lock() only and hands this object to readers as soon as mctp_ptr is assigned, so they must never observe mdev->dev == NULL.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.18% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded) | < 5.15.0-204.214 | < 6.8.0-149.149 | < 7.0.0-43.43
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1121.128 | < 6.8.0-1069.74 | < 7.0.0-1017.18
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.113-1 | < 7.2.10-1
- linux-6.12< 6.12.113-1~deb12u1
Linux1 product
- linux≥ 583be982d93479ea3d85091b0fd0b01201ede87d, < 58a270b5ecd8629114a4754d642bad6a33bef493 | ≥ 583be982d93479ea3d85091b0fd0b01201ede87d, < fdf09d0fa2fb639950bede185d22689f68df140e | ≥ 583be982d93479ea3d85091b0fd0b01201ede87d, < 288ef37e0c463192dbb6436e61cdc07ce666dcb9 | ≥ 583be982d93479ea3d85091b0fd0b01201ede87d, < af6e4f931afc2d670d133aa2bedc8b6e3753c618 | ≥ 583be982d93479ea3d85091b0fd0b01201ede87d, < 63120572edde85bb2b70b0ed4d4817ed52247613 | ≥ 583be982d93479ea3d85091b0fd0b01201ede87d, < f37f42e6e039a48c2dcf6c079b9f7fbc864ab7ef | ≥ 583be982d93479ea3d85091b0fd0b01201ede87d, < aadf655e8ea9a8ffa24bb8d69f504572e8d18181 | 5.15
3 vendors · 172 products