Skip to content
Noroxi
CVE-2023-52845· NVD / CVE Program· CNA Linux

tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING

In the Linux kernel, the following vulnerability has been resolved: tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING syzbot reported the following uninit-value access issue [1]: ===================================================== BUG: KMSAN: uninit-value in strlen lib/string.c:418 [inline] BUG: KMSAN: uninit-value in strstr+0xb8/0x2f0 lib/string.c:756 strlen lib/string.c:418 [inline] strstr+0xb8/0x2f0 lib/string.c:756 tipc_nl_node_reset_link_stats+0x3ea/0xb50 net/tipc/node.c:2595 genl_family_rcv_msg_doit net/netlink/genetlink.c:971 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1051 [inline] genl_rcv_msg+0x11ec/0x1290 net/netlink/genetlink.c:1066 netlink_rcv_skb+0x371/0x650 net/netlink/af_netlink.c:2545 genl_rcv+0x40/0x60 net/netlink/genetlink.c:1075 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0xf47/0x1250 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x1238/0x13d0 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg net/socket.c:753 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2541 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2595 __sys_sendmsg net/socket.c:2624 [inline] __do_sys_sendmsg net/socket.c:2633 [inline] __se_sys_sendmsg net/socket.c:2631 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was created at: slab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x577/0xa80 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:559 __alloc_skb+0x318/0x740 net/core/skbuff.c:650 alloc_skb include/linux/skbuff.h:1286 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1214 [inline] netlink_sendmsg+0xb34/0x13d0 net/netlink/af_netlink.c:1885 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg net/socket.c:753 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2541 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2595 __sys_sendmsg net/socket.c:2624 [inline] __do_sys_sendmsg net/socket.c:2633 [inline] __se_sys_sendmsg net/socket.c:2631 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd TIPC bearer-related names including link names must be null-terminated strings. If a link name which is not null-terminated is passed through netlink, strstr() and similar functions can cause buffer overrun. This causes the above issue. This patch changes the nla_policy for bearer-related names from NLA_STRING to NLA_NUL_STRING. This resolves the issue by ensuring that only null-terminated strings are accepted as bearer-related names. syzbot reported similar uninit-value issue related to bearer names [2]. The root cause of this issue is that a non-null-terminated bearer name was passed. This patch also resolved this issue.

MediumCVSS 5.5 · v3.1—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
May 21, 2024
Updated
Aug 5, 2026
EPSS
0.3% · 17th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.3%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
5.5
CNA · Linux
7.1
1.6 point gap

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel3.19 and later · before 4.14.330
  • linux linux kernel4.15 and later · before 4.19.299
  • linux linux kernel4.20 and later · before 5.4.261
  • linux linux kernel5.5 and later · before 5.10.201
  • linux linux kernel5.11 and later · before 5.15.139
  • linux linux kernel5.16 and later · before 6.1.63
  • linux linux kernel6.2 and later · before 6.5.12
  • linux linux kernel6.6 and later · before 6.6.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 3.19affected
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before 6744008c354bca2e4686a5b6056ee6b535d9f67daffected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before 2426425d686b43adbc4f2f4a367b494f06f159d6affected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before 2199260c42e6fbc5af8adae3bf78e623407c91b0affected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before b33d130f07f1decd756b849ab03c23d11d4dd294affected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before 3907b89cd17fcc23e9a80789c36856f00ece0ba8affected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before 4c731e98fe4d678e87ba3e4d45d3cf0a5a193dc4affected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before abc1582119e8c4af14cedb0db6541fd603f45a04affected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before 560992f41c0cea44b7603bc9e6c73bffbf6b5709affected · git
    • 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and later · before 19b3f72a41a8751e26bffc093bb7e1cef29ad579affected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8bpftoolbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernelbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-abi-stablelistsbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-corebefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-cross-headersbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debugbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-corebefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-modulesbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-debug-modules-extrabefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-docbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-headersbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-modulesbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-modules-extrabefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-toolsbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-tools-libsbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-tools-libs-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-zfcpdumpbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-zfcpdump-corebefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-zfcpdump-develbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-zfcpdump-modulesbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8kernel-zfcpdump-modules-extrabefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10
AlmaLinux:8perfbefore 4.18.0-553.16.1.el8_104.18.0-553.16.1.el8_10

+3

Other highest-scoring records for the same primary product.

  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux19b3f72a41a8751e26bffc093bb7e1cef29ad579Vendor (CNA)
Linux Linux2199260c42e6fbc5af8adae3bf78e623407c91b0Vendor (CNA)
Linux Linux2426425d686b43adbc4f2f4a367b494f06f159d6Vendor (CNA)
Linux Linux3907b89cd17fcc23e9a80789c36856f00ece0ba8Vendor (CNA)
Linux Linux4c731e98fe4d678e87ba3e4d45d3cf0a5a193dc4Vendor (CNA)
Linux Linux560992f41c0cea44b7603bc9e6c73bffbf6b5709Vendor (CNA)
Linux Linux6744008c354bca2e4686a5b6056ee6b535d9f67dVendor (CNA)
Linux Linuxabc1582119e8c4af14cedb0db6541fd603f45a04Vendor (CNA)
Linux Linuxb33d130f07f1decd756b849ab03c23d11d4dd294Vendor (CNA)
almalinux:bpftool4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-abi-stablelists4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-core4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-cross-headers4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-core4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-devel4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-debug-modules-extra4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-devel4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
almalinux:kernel-doc4.18.0-553.16.1.el8_10 · AlmaLinux:8Package registry (OSV)
debian:linux6.1.64-1 · Debian:12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2024-50302181 days apartHID: core: zero-initialize the report bufferKEV
    52Plan
  • CVE-2024-47685153 days apartnetfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
    36Monitor
  • CVE-2021-475533 days apartsched/scs: Reset task stack state in bringup_cpu()
    31Monitor
  • CVE-2024-368989 days apartgpiolib: cdev: fix uninitialised kfifo
    31Monitor
  • CVE-2024-2702220 days apartfork: defer linking file vma until vma is fully initialized
    31Monitor
  • CVE-2024-50143170 days apartudf: fix uninit-value use in udf_get_fileshortad
    31Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records