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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-48929— bpf: Fix crash due to out of bounds access into reg2btf_ids.

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存在安全漏洞,该漏洞源于不正确地使用bpf_reg_type枚举成员作为索引,导致越界访问。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 4

VendorProduct Version RangeStatus
Linux Linux 8d38cde47a7e17b646401fa92d916503caa5375e< 8c39925e98d498b9531343066ef82ae39e41adae affected
77459bc4d5e2c6f24db845780b4d9d60cf82d06a< f0ce1bc9e0235dd7412240be493d7ea65ed9eadc affected
c25b2ae136039ffa820c26138ed4a5e5f3ab3841< 45ce4b4f9009102cd9f581196d480a59208690c1 affected
5.16.11< 5.16.12 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-48929

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
bpf: Fix crash due to out of bounds access into reg2btf_ids.
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix crash due to out of bounds access into reg2btf_ids. When commit e6ac2450d6de ("bpf: Support bpf program calling kernel function") added kfunc support, it defined reg2btf_ids as a cheap way to translate the verifier reg type to the appropriate btf_vmlinux BTF ID, however commit c25b2ae13603 ("bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULL") moved the __BPF_REG_TYPE_MAX from the last member of bpf_reg_type enum to after the base register types, and defined other variants using type flag composition. However, now, the direct usage of reg->type to index into reg2btf_ids may no longer fall into __BPF_REG_TYPE_MAX range, and hence lead to out of bounds access and kernel crash on dereference of bad pointer.
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存在安全漏洞,该漏洞源于不正确地使用bpf_reg_type枚举成员作为索引,导致越界访问。
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 8d38cde47a7e17b646401fa92d916503caa5375e ~ 8c39925e98d498b9531343066ef82ae39e41adae -
Linux Linux 5.16.11 ~ 5.16.12 -

II. Public POCs for CVE-2022-48929

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-48929

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

Other References for CVE-2022-48929 (3)

Same Patch Batch · Linux · 2024-08-22 · 42 CVEs total

CVE-2022-48941 8.8 HIGH ice: fix concurrent reset and removal of VFs
CVE-2022-48919 8.8 HIGH cifs: fix double free race when mount fails in cifs_get_root()
CVE-2022-48923 7.8 HIGH btrfs: prevent copying too big compressed lzo segment
CVE-2022-48925 7.8 HIGH RDMA/cma: Do not change route.addr.src_addr outside state checks
CVE-2022-48927 7.8 HIGH iio: adc: tsc2046: fix memory corruption by preventing array overflow
CVE-2022-48913 7.8 HIGH blktrace: fix use after free for struct blk_trace
CVE-2022-48912 7.8 HIGH netfilter: fix use-after-free in __nf_register_net_hook()
CVE-2022-48911 7.8 HIGH netfilter: nf_queue: fix possible use-after-free
CVE-2022-48932 7.8 HIGH net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte
CVE-2022-48935 7.8 HIGH netfilter: nf_tables: unregister flowtable hooks on netns exit
CVE-2022-48940 7.8 HIGH bpf: Fix crash due to incorrect copy_map_value
CVE-2022-48943 7.1 HIGH KVM: x86/mmu: make apf token non-zero to fix bug
CVE-2022-48933 netfilter: nf_tables: fix memory leak during stateful obj update
CVE-2022-48931 configfs: fix a race in configfs_{,un}register_subsystem()
CVE-2022-48934 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
CVE-2022-48937 io_uring: add a schedule point in io_add_buffers()
CVE-2022-48930 RDMA/ib_srp: Fix a deadlock
CVE-2022-48928 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
CVE-2022-48938 CDC-NCM: avoid overflow in sanity checking
CVE-2022-48926 usb: gadget: rndis: add spinlock for rndis response list

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-48929

No comments yet


Leave a comment