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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-47659— smack: tcp: ipv4, fix incorrect labeling

EPSS 0.41% · P61
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-47659

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
smack: tcp: ipv4, fix incorrect labeling
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: smack: tcp: ipv4, fix incorrect labeling Currently, Smack mirrors the label of incoming tcp/ipv4 connections: when a label 'foo' connects to a label 'bar' with tcp/ipv4, 'foo' always gets 'foo' in returned ipv4 packets. So, 1) returned packets are incorrectly labeled ('foo' instead of 'bar') 2) 'bar' can write to 'foo' without being authorized to write. Here is a scenario how to see this: * Take two machines, let's call them C and S, with active Smack in the default state (no settings, no rules, no labeled hosts, only builtin labels) * At S, add Smack rule 'foo bar w' (labels 'foo' and 'bar' are instantiated at S at this moment) * At S, at label 'bar', launch a program that listens for incoming tcp/ipv4 connections * From C, at label 'foo', connect to the listener at S. (label 'foo' is instantiated at C at this moment) Connection succeedes and works. * Send some data in both directions. * Collect network traffic of this connection. All packets in both directions are labeled with the CIPSO of the label 'foo'. Hence, label 'bar' writes to 'foo' without being authorized, and even without ever being known at C. If anybody cares: exactly the same happens with DCCP. This behavior 1st manifested in release 2.6.29.4 (see Fixes below) and it looks unintentional. At least, no explanation was provided. I changed returned packes label into the 'bar', to bring it into line with the Smack documentation claims.
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存在安全漏洞。攻击者利用该漏洞导致标签错误和未授权的写入。
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 07feee8f812f7327a46186f7604df312c8c81962 ~ d3f56c653c65f170b172d3c23120bc64ada645d8 -
LinuxLinux 2.6.30 -

II. Public POCs for CVE-2024-47659

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-47659

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-10-09 · 17 CVEs total

CVE-2024-46870drm/amd/display: Disable DMCUB timeout for DCN35
CVE-2024-46871drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
CVE-2024-47658crypto: stm32/cryp - call finalize with bh disabled
CVE-2024-47660fsnotify: clear PARENT_WATCHED flags lazily
CVE-2024-47662drm/amd/display: Remove register from DCN35 DMCUB diagnostic collection
CVE-2024-47661drm/amd/display: Avoid overflow from uint32_t to uint8_t
CVE-2024-47663staging: iio: frequency: ad9834: Validate frequency parameter value
CVE-2024-47664spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
CVE-2024-47665i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup
CVE-2024-47666scsi: pm80xx: Set phy->enable_completion only when we wait for it
CVE-2024-47667PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)
CVE-2024-47668lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
CVE-2024-47669nilfs2: fix state management in error path of log writing function
CVE-2024-47670ocfs2: add bounds checking to ocfs2_xattr_find_entry()
CVE-2024-47671USB: usbtmc: prevent kernel-usb-infoleak
CVE-2024-47673wifi: iwlwifi: mvm: pause TCM when the firmware is stopped

IV. Related Vulnerabilities

V. Comments for CVE-2024-47659

No comments yet


Leave a comment