CVE-2026-98812
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
net/mctp: publikuj plik mctp_dev dopiero po jego zainicjowaniu
mctp_add_dev() łączy nowe mctp_dev z dev->mctp_ptr przed mdev->dev
przypisany jest więc czytnik, który odbierze urządzenie w tym oknie
dereferuje wskaźnik net_device, który nadal ma wartość NULL:
KASAN: null-ptr-deref w zakresie [0x00000000000000b0-0x00000000000000b7]
Zadzwoń do śledzenia:
<ZADANIE>
? __pfx_mctp_sendmsg (./include/linux/sockptr.h:49)
? __pfx_mctp_dst_output (net/mctp/route.c:41)
? selinux_socket_sendmsg (bezpieczeństwo/selinux/hooks.c:5278)
____sys_sendmsg (net/socket.c:775 (dyskryminator 1) net/socket.c:790
(dyskryminator 1) net/socket.c:2684 (dyskryminator 1))
? __pfx_____sys_sendmsg (net/socket.c:1131)
? __pfx_copy_msghdr_from_user (net/socket.c:2590)
? update_cfs_rq_load_avg (jądro/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 (jądro/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)
wpis_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
</ZADANIE>
Napraw, publikując dopiero po całkowitym zainicjowaniu obiektu:
__mctp_dev_get() działa tylko pod rcu_read_lock() i ręce
ten obiekt do czytelników zaraz po przypisaniu mctp_ptr, więc
nigdy nie wolno im obserwować mdev->dev == NULL.
>_ Referencje
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org