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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-50212— lib: alloc_tag_module_unload must wait for pending kfree_rcu calls

EPSS 0.10% · P27
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-50212

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
lib: alloc_tag_module_unload must wait for pending kfree_rcu calls
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: lib: alloc_tag_module_unload must wait for pending kfree_rcu calls Ben Greear reports following splat: ------------[ cut here ]------------ net/netfilter/nf_nat_core.c:1114 module nf_nat func:nf_nat_register_fn has 256 allocated at module unload WARNING: CPU: 1 PID: 10421 at lib/alloc_tag.c:168 alloc_tag_module_unload+0x22b/0x3f0 Modules linked in: nf_nat(-) btrfs ufs qnx4 hfsplus hfs minix vfat msdos fat ... Hardware name: Default string Default string/SKYBAY, BIOS 5.12 08/04/2020 RIP: 0010:alloc_tag_module_unload+0x22b/0x3f0 codetag_unload_module+0x19b/0x2a0 ? codetag_load_module+0x80/0x80 nf_nat module exit calls kfree_rcu on those addresses, but the free operation is likely still pending by the time alloc_tag checks for leaks. Wait for outstanding kfree_rcu operations to complete before checking resolves this warning. Reproducer: unshare -n iptables-nft -t nat -A PREROUTING -p tcp grep nf_nat /proc/allocinfo # will list 4 allocations rmmod nft_chain_nat rmmod nf_nat # will WARN. [akpm@linux-foundation.org: add comment]
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于存在alloc_tag_module_unload时kfree_rcu调用等待问题。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux a473573964e51dcb6efc182f773cd3924be4a184 ~ 24211fb49c9ac1b576470b7e393a5a0b50af2707 -
LinuxLinux 6.10 -

II. Public POCs for CVE-2024-50212

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-50212

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-11-09 · 49 CVEs total

CVE-2024-50249ACPI: CPPC: Make rmw_lock a raw_spin_lock
CVE-2024-50252mlxsw: spectrum_ipip: Fix memory leak when changing remote IPv6 address
CVE-2024-50254bpf: Free dynamically allocated bits in bpf_iter_bits_destroy()
CVE-2024-50258net: fix crash when config small gso_max_size/gso_ipv4_max_size
CVE-2024-50259netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write
CVE-2024-50260sock_map: fix a NULL pointer dereference in sock_map_link_update_prog()
CVE-2024-50261macsec: Fix use-after-free while sending the offloading packet
CVE-2024-50262bpf: Fix out-of-bounds write in trie_get_next_key()
CVE-2024-50257netfilter: Fix use-after-free in get_info()
CVE-2024-50250fsdax: dax_unshare_iter needs to copy entire blocks
CVE-2024-50251netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
CVE-2024-50248ntfs3: Add bounds checking to mi_enum_attr()
CVE-2024-50247fs/ntfs3: Check if more than chunk-size bytes are written
CVE-2024-50246fs/ntfs3: Add rough attr alloc_size check
CVE-2024-50244fs/ntfs3: Additional check in ni_clear()
CVE-2024-50245fs/ntfs3: Fix possible deadlock in mi_read
CVE-2024-50243fs/ntfs3: Fix general protection fault in run_is_mapped_full
CVE-2024-50242fs/ntfs3: Additional check in ntfs_file_release
CVE-2024-50241NFSD: Initialize struct nfsd4_copy earlier
CVE-2024-50240phy: qcom: qmp-usb: fix NULL-deref on runtime suspend

Showing top 20 of 49 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2024-50212

No comments yet


Leave a comment