Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52906— net/sched: act_mpls: Fix warning during failed attribute validation

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于 net/sched 组件在处理MPLS标签属性验证失败时存在警告问题。

AI Predicted 5.5 Difficulty: Trivial EPSS 0.25% · P15

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux 2a2ea50870baa3fb4de0872c5b60828138654ca7< 2b157c3c5d6b8ddca48d53c9e662032f65af8d61 affected
2a2ea50870baa3fb4de0872c5b60828138654ca7< 453277feb41c2235cf2c0de9209eef962c401457 affected
2a2ea50870baa3fb4de0872c5b60828138654ca7< 9e2c38827cdc6fdd3bb375c8607fc04d289756f9 affected
2a2ea50870baa3fb4de0872c5b60828138654ca7< 8a97b544b98e44f596219ebb290fd2ba2fd5d644 affected
2a2ea50870baa3fb4de0872c5b60828138654ca7< 9e17f99220d111ea031b44153fdfe364b0024ff2 affected
5.3 affected
< 5.3 unaffected
5.4.229≤ 5.4.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52906

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net/sched: act_mpls: Fix warning during failed attribute validation
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_mpls: Fix warning during failed attribute validation The 'TCA_MPLS_LABEL' attribute is of 'NLA_U32' type, but has a validation type of 'NLA_VALIDATE_FUNCTION'. This is an invalid combination according to the comment above 'struct nla_policy': " Meaning of `validate' field, use via NLA_POLICY_VALIDATE_FN: NLA_BINARY Validation function called for the attribute. All other Unused - but note that it's a union " This can trigger the warning [1] in nla_get_range_unsigned() when validation of the attribute fails. Despite being of 'NLA_U32' type, the associated 'min'/'max' fields in the policy are negative as they are aliased by the 'validate' field. Fix by changing the attribute type to 'NLA_BINARY' which is consistent with the above comment and all other users of NLA_POLICY_VALIDATE_FN(). As a result, move the length validation to the validation function. No regressions in MPLS tests: # ./tdc.py -f tc-tests/actions/mpls.json [...] # echo $? 0 [1] WARNING: CPU: 0 PID: 17743 at lib/nlattr.c:118 nla_get_range_unsigned+0x1d8/0x1e0 lib/nlattr.c:117 Modules linked in: CPU: 0 PID: 17743 Comm: syz-executor.0 Not tainted 6.1.0-rc8 #3 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014 RIP: 0010:nla_get_range_unsigned+0x1d8/0x1e0 lib/nlattr.c:117 [...] Call Trace: <TASK> __netlink_policy_dump_write_attr+0x23d/0x990 net/netlink/policy.c:310 netlink_policy_dump_write_attr+0x22/0x30 net/netlink/policy.c:411 netlink_ack_tlv_fill net/netlink/af_netlink.c:2454 [inline] netlink_ack+0x546/0x760 net/netlink/af_netlink.c:2506 netlink_rcv_skb+0x1b7/0x240 net/netlink/af_netlink.c:2546 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:6109 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x5e9/0x6b0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x739/0x860 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x38f/0x500 net/socket.c:2482 ___sys_sendmsg net/socket.c:2536 [inline] __sys_sendmsg+0x197/0x230 net/socket.c:2565 __do_sys_sendmsg net/socket.c:2574 [inline] __se_sys_sendmsg net/socket.c:2572 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2572 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于 net/sched 组件在处理MPLS标签属性验证失败时存在警告问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 2a2ea50870baa3fb4de0872c5b60828138654ca7 ~ 2b157c3c5d6b8ddca48d53c9e662032f65af8d61 -
Linux Linux 5.3 -

II. Public POCs for CVE-2023-52906

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52906

请登录查看更多情报信息。

Other References for CVE-2023-52906 (4)

Same Patch Batch · Linux · 2024-08-21 · 68 CVEs total

CVE-2023-52910 8.8 HIGH iommu/iova: Fix alloc iova overflows issue
CVE-2024-43881 8.8 HIGH wifi: ath12k: change DMA direction while mapping reinjected packets
CVE-2022-48871 8.8 HIGH tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
CVE-2024-43878 8.1 HIGH xfrm: Fix input error path memory access
CVE-2022-48883 7.8 HIGH net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent
CVE-2023-52913 7.8 HIGH drm/i915: Fix potential context UAFs
CVE-2024-43882 7.8 HIGH exec: Fix ToCToU between perm check and set-uid/gid usage
CVE-2024-43877 7.8 HIGH media: pci: ivtv: Add check for DMA map result
CVE-2022-48892 7.8 HIGH sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
CVE-2024-43880 7.8 HIGH mlxsw: spectrum_acl_erp: Fix object nesting warning
CVE-2022-48899 7.8 HIGH drm/virtio: Fix GEM handle creation UAF
CVE-2023-52903 7.8 HIGH io_uring: lock overflowing for IOPOLL
CVE-2022-48872 7.8 HIGH misc: fastrpc: Fix use-after-free race condition for maps
CVE-2022-48873 7.8 HIGH misc: fastrpc: Don't remove map on creater_process and device_release
CVE-2022-48874 7.8 HIGH misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
CVE-2022-48887 7.8 HIGH drm/vmwgfx: Remove rcu locks from user resources
CVE-2022-48878 7.8 HIGH Bluetooth: hci_qca: Fix driver shutdown on closed serdev
CVE-2023-52907 7.8 HIGH nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
CVE-2023-52909 7.5 HIGH nfsd: fix handling of cached open files in nfsd4_open codepath
CVE-2024-43872 7.5 HIGH RDMA/hns: Fix soft lockup under heavy CEQE load

Showing top 20 of 68 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2023-52906

No comments yet


Leave a comment