{"uuid": "a4a48adc-cefc-4436-91b8-795b7155e46a", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-50128", "type": "seen", "source": "https://t.me/cvedetector/9921", "content": "{\n  \"Source\": \"CVE FEED\",\n  \"Title\": \"CVE-2024-50128 - Qualcomm Wwan Global Out-of-Bounds Read Vulnerability\", \n  \"Content\": \"CVE ID : CVE-2024-50128 \nPublished : Nov. 5, 2024, 6:15 p.m. | 22\u00a0minutes ago \nDescription : In the Linux kernel, the following vulnerability has been resolved:  \n  \nnet: wwan: fix global oob in wwan_rtnl_policy  \n  \nThe variable wwan_rtnl_link_ops assign a *bigger* maxtype which leads to  \na global out-of-bounds read when parsing the netlink attributes. Exactly  \nsame bug cause as the oob fixed in commit b33fb5b801c6 (\"net: qualcomm:  \nrmnet: fix global oob in rmnet_policy\").  \n  \n==================================================================  \nBUG: KASAN: global-out-of-bounds in validate_nla lib/nlattr.c:388 [inline]  \nBUG: KASAN: global-out-of-bounds in __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603  \nRead of size 1 at addr ffffffff8b09cb60 by task syz.1.66276/323862  \n  \nCPU: 0 PID: 323862 Comm: syz.1.66276 Not tainted 6.1.70 #1  \nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014  \nCall Trace:  \n   \n __dump_stack lib/dump_stack.c:88 [inline]  \n dump_stack_lvl+0x177/0x231 lib/dump_stack.c:106  \n print_address_description mm/kasan/report.c:284 [inline]  \n print_report+0x14f/0x750 mm/kasan/report.c:395  \n kasan_report+0x139/0x170 mm/kasan/report.c:495  \n validate_nla lib/nlattr.c:388 [inline]  \n __nla_validate_parse+0x19d7/0x29a0 lib/nlattr.c:603  \n __nla_parse+0x3c/0x50 lib/nlattr.c:700  \n nla_parse_nested_deprecated include/net/netlink.h:1269 [inline]  \n __rtnl_newlink net/core/rtnetlink.c:3514 [inline]  \n rtnl_newlink+0x7bc/0x1fd0 net/core/rtnetlink.c:3623  \n rtnetlink_rcv_msg+0x794/0xef0 net/core/rtnetlink.c:6122  \n netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2508  \n netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]  \n netlink_unicast+0x74b/0x8c0 net/netlink/af_netlink.c:1352  \n netlink_sendmsg+0x882/0xb90 net/netlink/af_netlink.c:1874  \n sock_sendmsg_nosec net/socket.c:716 [inline]  \n __sock_sendmsg net/socket.c:728 [inline]  \n ____sys_sendmsg+0x5cc/0x8f0 net/socket.c:2499  \n ___sys_sendmsg+0x21c/0x290 net/socket.c:2553  \n __sys_sendmsg net/socket.c:2582 [inline]  \n __do_sys_sendmsg net/socket.c:2591 [inline]  \n __se_sys_sendmsg+0x19e/0x270 net/socket.c:2589  \n do_syscall_x64 arch/x86/entry/common.c:51 [inline]  \n do_syscall_64+0x45/0x90 arch/x86/entry/common.c:81  \n entry_SYSCALL_64_after_hwframe+0x63/0xcd  \nRIP: 0033:0x7f67b19a24ad  \nRSP: 002b:00007f67b17febb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e  \nRAX: ffffffffffffffda RBX: 00007f67b1b45f80 RCX: 00007f67b19a24ad  \nRDX: 0000000000000000 RSI: 0000000020005e40 RDI: 0000000000000004  \nRBP: 00007f67b1a1e01d R08: 0000000000000000 R09: 0000000000000000  \nR10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000  \nR13: 00007ffd2513764f R14: 00007ffd251376e0 R15: 00007f67b17fed40  \n   \n  \nThe buggy address belongs to the variable:  \n wwan_rtnl_policy+0x20/0x40  \n  \nThe buggy address belongs to the physical page:  \npage:ffffea00002c2700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb09c  \nflags: 0xfff00000001000(reserved|node=0|zone=1|lastcpupid=0x7ff)  \nraw: 00fff00000001000 ffffea00002c2708 ffffea00002c2708 0000000000000000  \nraw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000  \npage dumped because: kasan: bad access detected  \npage_owner info is not present (never set?)  \n  \nMemory state around the buggy address:  \n ffffffff8b09ca00: 05 f9 f9 f9 05 f9 f9 f9 00 01 f9 f9 00 01 f9 f9  \n ffffffff8b09ca80: 00 00 00 05 f9 f9 f9 f9 00 00 03 f9 f9 f9 f9 f9  \n&gt;ffffffff8b09cb00: 00 00 00 00 05 f9 f9 f9 00 00 00 00 f9 f9 f9 f9  \n                                                       ^  \n ffffffff8b09cb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  \n==================================================================  \n  \nAccording to the comment of `nla_parse_nested_deprecated`, use correct size  \n`IFLA_WWAN_MAX` here to fix this issue. \nSeverity: 0.0 | NA \nVisit the link for more de[...]", "creation_timestamp": "2024-11-05T19:44:22.000000Z"}