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

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2024-42109— netfilter: nf_tables: unconditionally flush pending work before notifier

AI Predicted 4.9 Difficulty: Hard EPSS 0.01% · P3

Affected Version Matrix 16

VendorProductVersion RangeStatus
LinuxLinuxf22954f8c58fd5f5489f5980796914e306757e77< 3325628cb36b7f216c5716e7b5124d9dc81199e4affected
41841b585e53babdfb0fa6fdfa54f6d7c28c1206< 4c06c13317b9a08decedcd7aaf706691e336277caffected
2c9f0293280e258606e54ed2b96fa71498432eae< 55a40406aac555defe9bdd0adec9508116ce7cb1affected
2c9f0293280e258606e54ed2b96fa71498432eae< 09e650c3a3a7d804430260510534ccbf71c75b2eaffected
2c9f0293280e258606e54ed2b96fa71498432eae< 9f6958ba2e902f9820c594869bd710ba74b7c4c0affected
4167aa477abcf62b0dfda51f3513280fa73cd588affected
5.15.129< 5.15.163affected
6.1.50< 6.1.98affected
… +8 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-42109

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
netfilter: nf_tables: unconditionally flush pending work before notifier
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: unconditionally flush pending work before notifier syzbot reports: KASAN: slab-uaf in nft_ctx_update include/net/netfilter/nf_tables.h:1831 KASAN: slab-uaf in nft_commit_release net/netfilter/nf_tables_api.c:9530 KASAN: slab-uaf int nf_tables_trans_destroy_work+0x152b/0x1750 net/netfilter/nf_tables_api.c:9597 Read of size 2 at addr ffff88802b0051c4 by task kworker/1:1/45 [..] Workqueue: events nf_tables_trans_destroy_work Call Trace: nft_ctx_update include/net/netfilter/nf_tables.h:1831 [inline] nft_commit_release net/netfilter/nf_tables_api.c:9530 [inline] nf_tables_trans_destroy_work+0x152b/0x1750 net/netfilter/nf_tables_api.c:9597 Problem is that the notifier does a conditional flush, but its possible that the table-to-be-removed is still referenced by transactions being processed by the worker, so we need to flush unconditionally. We could make the flush_work depend on whether we found a table to delete in nf-next to avoid the flush for most cases. AFAICS this problem is only exposed in nf-next, with commit e169285f8c56 ("netfilter: nf_tables: do not store nft_ctx in transaction objects"), with this commit applied there is an unconditional fetch of table->family which is whats triggering the above splat.
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 存在安全漏洞,该漏洞源于netfilter:nf_tables模块中在通知删除表之前,待处理的工作没有被无条件地刷新,可能导致释放后重用问题。
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 f22954f8c58fd5f5489f5980796914e306757e77 ~ 3325628cb36b7f216c5716e7b5124d9dc81199e4 -
LinuxLinux 6.5 -

II. Public POCs for CVE-2024-42109

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-42109

登录查看更多情报信息。

Other References for CVE-2024-42109 (5)

Same Patch Batch · Linux · 2024-07-30 · 70 CVEs total

CVE-2024-42146drm/xe: Add outer runtime_pm protection to xe_live_ktest@xe_dma_buf
CVE-2024-42227drm/amd/display: Fix overlapping copy within dml_core_mode_programming
CVE-2024-42225wifi: mt76: replace skb_put with skb_put_zero
CVE-2024-42153i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr
CVE-2024-42152nvmet: fix a possible leak when destroy a ctrl during qp establishment
CVE-2024-42151bpf: mark bpf_dummy_struct_ops.test_1 parameter as nullable
CVE-2024-42150net: txgbe: remove separate irq request for MSI and INTx
CVE-2024-42149fs: don't misleadingly warn during thaw operations
CVE-2024-42148bnx2x: Fix multiple UBSAN array-index-out-of-bounds
CVE-2024-42147crypto: hisilicon/debugfs - Fix debugfs uninit process issue
CVE-2024-42154tcp_metrics: validate source addr length
CVE-2024-42145IB/core: Implement a limit on UMAD receive List
CVE-2024-42144thermal/drivers/mediatek/lvts_thermal: Check NULL ptr on lvts_data
CVE-2024-42142net/mlx5: E-switch, Create ingress ACL when needed
CVE-2024-42141Bluetooth: ISO: Check socket flag instead of hcon
CVE-2024-42140riscv: kexec: Avoid deadlock in kexec crash path
CVE-2024-42138mlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file
CVE-2024-42139ice: Fix improper extts handling
CVE-2024-42137Bluetooth: qca: Fix BT enable failure again for QCA6390 after warm reboot
CVE-2024-42136cdrom: rearrange last_media_change check to avoid unintentional overflow

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-42109

No comments yet


Leave a comment