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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-26595— mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path

EPSS 0.02% · P3
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-26595

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
mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_acl_tcam: Fix NULL pointer dereference in error path When calling mlxsw_sp_acl_tcam_region_destroy() from an error path after failing to attach the region to an ACL group, we hit a NULL pointer dereference upon 'region->group->tcam' [1]. Fix by retrieving the 'tcam' pointer using mlxsw_sp_acl_to_tcam(). [1] BUG: kernel NULL pointer dereference, address: 0000000000000000 [...] RIP: 0010:mlxsw_sp_acl_tcam_region_destroy+0xa0/0xd0 [...] Call Trace: mlxsw_sp_acl_tcam_vchunk_get+0x88b/0xa20 mlxsw_sp_acl_tcam_ventry_add+0x25/0xe0 mlxsw_sp_acl_rule_add+0x47/0x240 mlxsw_sp_flower_replace+0x1a9/0x1d0 tc_setup_cb_add+0xdc/0x1c0 fl_hw_replace_filter+0x146/0x1f0 fl_change+0xc17/0x1360 tc_new_tfilter+0x472/0xb90 rtnetlink_rcv_msg+0x313/0x3b0 netlink_rcv_skb+0x58/0x100 netlink_unicast+0x244/0x390 netlink_sendmsg+0x1e4/0x440 ____sys_sendmsg+0x164/0x260 ___sys_sendmsg+0x9a/0xe0 __sys_sendmsg+0x7a/0xc0 do_syscall_64+0x40/0xe0 entry_SYSCALL_64_after_hwframe+0x63/0x6b
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 存在安全漏洞,该漏洞源于 mlxsw 模块存在空指针取消引用问题。
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 22a677661f5624539d394f681276171f92d714df ~ 75fa2d8b3c0175b519c99ace54ab8474cfd0077e -
LinuxLinux 4.11 -

II. Public POCs for CVE-2024-26595

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26595

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-02-23 · 19 CVEs total

CVE-2023-52459media: v4l: async: Fix duplicated list deletion
CVE-2024-26593i2c: i801: Fix block process call transactions
CVE-2024-26594ksmbd: validate mech token in session setup
CVE-2023-52453hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume
CVE-2023-52455iommu: Don't reserve 0-length IOVA region
CVE-2023-52454nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
CVE-2023-52456serial: imx: fix tx statemachine deadlock
CVE-2023-52458block: add check that partition length needs to be aligned with block size
CVE-2023-52457serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
CVE-2024-26598KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
CVE-2023-52461drm/sched: Fix bounds limiting when given a malformed entity
CVE-2023-52460drm/amd/display: Fix NULL pointer dereference at hibernate
CVE-2023-52462bpf: fix check for attempt to corrupt spilled pointer
CVE-2023-52464EDAC/thunderx: Fix possible out-of-bounds string access
CVE-2023-52463efivarfs: force RO when remounting if SetVariable is not supported
CVE-2024-26596net: dsa: fix netdev_priv() dereference before check on non-DSA netdevice events
CVE-2024-26597net: qualcomm: rmnet: fix global oob in rmnet_policy
CVE-2024-26599pwm: Fix out-of-bounds access in of_pwm_single_xlate()

IV. Related Vulnerabilities

V. Comments for CVE-2024-26595

No comments yet


Leave a comment