CVE-2024-53042

CVE Details

Release Date:2024-11-19
Impact:Moderate What is this?

Description


In the Linux kernel, the following vulnerability has been resolved:\nipv4: ip_tunnel: Fix suspicious RCU usage warning in ip_tunnel_init_flow()\nThere are code paths from which the function is called without holding\nthe RCU read lock, resulting in a suspicious RCU usage warning [1].\nFix by using l3mdev_master_upper_ifindex_by_index() which will acquire\nthe RCU read lock before calling\nl3mdev_master_upper_ifindex_by_index_rcu().\n[1]\nWARNING: suspicious RCU usage\n6.12.0-rc3-custom-gac8f72681cf2 #141 Not tainted\n-----------------------------\nnet/core/dev.c:876 RCU-list traversed in non-reader section!!\nother info that might help us debug this:\nrcu_scheduler_active = 2, debug_locks = 1\n1 lock held by ip/361:\n#0: ffffffff86fc7cb0 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x377/0xf60\nstack backtrace:\nCPU: 3 UID: 0 PID: 361 Comm: ip Not tainted 6.12.0-rc3-custom-gac8f72681cf2 #141\nHardware name: Bochs Bochs, BIOS Bochs 01/01/2011\nCall Trace:\n\ndump_stack_lvl+0xba/0x110\nlockdep_rcu_suspicious.cold+0x4f/0xd6\ndev_get_by_index_rcu+0x1d3/0x210\nl3mdev_master_upper_ifindex_by_index_rcu+0x2b/0xf0\nip_tunnel_bind_dev+0x72f/0xa00\nip_tunnel_newlink+0x368/0x7a0\nipgre_newlink+0x14c/0x170\n__rtnl_newlink+0x1173/0x19c0\nrtnl_newlink+0x6c/0xa0\nrtnetlink_rcv_msg+0x3cc/0xf60\nnetlink_rcv_skb+0x171/0x450\nnetlink_unicast+0x539/0x7f0\nnetlink_sendmsg+0x8c1/0xd80\n____sys_sendmsg+0x8f9/0xc20\n___sys_sendmsg+0x197/0x1e0\n__sys_sendmsg+0x122/0x1f0\ndo_syscall_64+0xbb/0x1d0\nentry_SYSCALL_64_after_hwframe+0x77/0x7f

See more information about CVE-2024-53042 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 5.5
Vector String: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Version: 3.1
Attack Vector: Local
Attack Complexity: Low
Privileges Required: Low
User Interaction: None
Scope: Unchanged
Confidentiality Impact: None
Integrity Impact: None
Availability Impact: High

Errata information


PlatformErrataRelease Date


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete