Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-47659

published critical CVSS 3.1 · 9.1

smack: tcp: ipv4, fix incorrect labeling

Published
09 Oct 2024, 14:02:54 UTC
Updated
05 Aug 2026, 11:39:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux07feee8f812f7327a46186f7604df312c8c81962 to < d3f56c653c65f170b172d3c23120bc64ada645d8 · 07feee8f812f7327a46186f7604df312c8c81962 to < 5b4b304f196c070342e32a4752e1fa2e22fc0671 · 07feee8f812f7327a46186f7604df312c8c81962 to < a948ec993541db4ef392b555c37a1186f4d61670 · 07feee8f812f7327a46186f7604df312c8c81962 to < 0aea09e82eafa50a373fc8a4b84c1d4734751e2c · 07feee8f812f7327a46186f7604df312c8c81962 to < 0776bcf9cb6de46fdd94d10118de1cf9b05f83b9 · 07feee8f812f7327a46186f7604df312c8c81962 to < 4be9fd15c3c88775bdf6fa37acabe6de85beebff · 07feee8f812f7327a46186f7604df312c8c81962 to < d3703fa94116fed91f64c7d1c7d284fb4369070f · 07feee8f812f7327a46186f7604df312c8c81962 to < 2fe209d0ad2e2729f7e22b9b31a86cc3ff0db550 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.30 (affected) · 0 to < 2.6.30 (unaffected · semver) · 4.19.322 through 4.19.* (unaffected · semver) · 5.4.284 through 5.4.* (unaffected · semver) · 5.10.226 through 5.10.* (unaffected · semver) · 5.15.167 through 5.15.* (unaffected · semver) · 6.1.109 through 6.1.* (unaffected · semver) · 6.6.50 through 6.6.* (unaffected · semver) · 6.10.9 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Ubuntu bionic block-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic block-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic crypto-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu bionic crypto-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic dasd-extra-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic dasd-extra-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic dasd-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic dasd-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic fat-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic fat-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic fb-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic fb-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic firewire-core-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic firewire-core-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic floppy-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic floppy-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic fs-core-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic fs-core-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic fs-secondary-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic fs-secondary-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic input-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic input-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic ipmi-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic ipmi-modules-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic irda-modules-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic kernel-image-4.15.0-247-generic-di Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic kernel-image-5.4.0-200-generic-di Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic linux Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic linux-aws Advisory build 4.15.0-1189.202 USN-8112-1
Ubuntu bionic linux-aws-5.4 Advisory build 5.4.0-1135.145~18.04.1 USN-7088-3
Ubuntu bionic linux-aws-5.4-cloud-tools-5.4.0-1135 Advisory build 5.4.0-1135.145~18.04.1 USN-7088-3
Ubuntu bionic linux-aws-5.4-headers-5.4.0-1135 Advisory build 5.4.0-1135.145~18.04.1 USN-7088-3
Ubuntu bionic linux-aws-5.4-tools-5.4.0-1135 Advisory build 5.4.0-1135.145~18.04.1 USN-7088-3
Ubuntu bionic linux-aws-cloud-tools-4.15.0-1189 Advisory build 4.15.0-1189.202 USN-8112-1
Ubuntu bionic linux-aws-fips Advisory build 4.15.0-2127.133 USN-8112-2
Ubuntu bionic linux-aws-fips-headers-4.15.0-2127 Advisory build 4.15.0-2127.133 USN-8112-2
Ubuntu bionic linux-aws-fips-tools-4.15.0-2127 Advisory build 4.15.0-2127.133 USN-8112-2
Ubuntu bionic linux-aws-headers-4.15.0-1189 Advisory build 4.15.0-1189.202 USN-8112-1
Ubuntu bionic linux-aws-tools-4.15.0-1189 Advisory build 4.15.0-1189.202 USN-8112-1
Ubuntu bionic linux-azure-4.15 Advisory build 4.15.0-1197.212 USN-8112-3
Ubuntu bionic linux-azure-4.15-cloud-tools-4.15.0-1197 Advisory build 4.15.0-1197.212 USN-8112-3
Ubuntu bionic linux-azure-4.15-headers-4.15.0-1197 Advisory build 4.15.0-1197.212 USN-8112-3
Ubuntu bionic linux-azure-4.15-tools-4.15.0-1197 Advisory build 4.15.0-1197.212 USN-8112-3
Ubuntu bionic linux-azure-5.4 Advisory build 5.4.0-1140.147~18.04.1 USN-7088-4
Ubuntu bionic linux-azure-5.4-cloud-tools-5.4.0-1140 Advisory build 5.4.0-1140.147~18.04.1 USN-7088-4
Ubuntu bionic linux-azure-5.4-headers-5.4.0-1140 Advisory build 5.4.0-1140.147~18.04.1 USN-7088-4
Ubuntu bionic linux-azure-5.4-tools-5.4.0-1140 Advisory build 5.4.0-1140.147~18.04.1 USN-7088-4
Ubuntu bionic linux-azure-fips Advisory build 4.15.0-2106.112 USN-8112-4
Ubuntu bionic linux-azure-fips-cloud-tools-4.15.0-2106 Advisory build 4.15.0-2106.112 USN-8112-4
Ubuntu bionic linux-azure-fips-headers-4.15.0-2106 Advisory build 4.15.0-2106.112 USN-8112-4
Ubuntu bionic linux-azure-fips-tools-4.15.0-2106 Advisory build 4.15.0-2106.112 USN-8112-4
Ubuntu bionic linux-buildinfo-4.15.0-1144-fips Advisory build 4.15.0-1144.156 USN-8112-2
Ubuntu bionic linux-buildinfo-4.15.0-1151-oracle Advisory build 4.15.0-1151.162 USN-8112-1
Ubuntu bionic linux-buildinfo-4.15.0-1171-kvm Advisory build 4.15.0-1171.176 USN-8112-1
Ubuntu bionic linux-buildinfo-4.15.0-1182-gcp Advisory build 4.15.0-1182.199 USN-8112-1
Ubuntu bionic linux-buildinfo-4.15.0-1189-aws Advisory build 4.15.0-1189.202 USN-8112-1
Ubuntu bionic linux-buildinfo-4.15.0-1197-azure Advisory build 4.15.0-1197.212 USN-8112-3
Ubuntu bionic linux-buildinfo-4.15.0-2090-gcp-fips Advisory build 4.15.0-2090.96 USN-8112-2
Ubuntu bionic linux-buildinfo-4.15.0-2106-azure-fips Advisory build 4.15.0-2106.112 USN-8112-4
Ubuntu bionic linux-buildinfo-4.15.0-2127-aws-fips Advisory build 4.15.0-2127.133 USN-8112-2
Ubuntu bionic linux-buildinfo-4.15.0-247-generic Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic linux-buildinfo-4.15.0-247-lowlatency Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic linux-buildinfo-5.4.0-1082-ibm Advisory build 5.4.0-1082.87~18.04.1 USN-7088-1
Ubuntu bionic linux-buildinfo-5.4.0-1119-raspi Advisory build 5.4.0-1119.131~18.04.1 USN-7088-5
Ubuntu bionic linux-buildinfo-5.4.0-1134-oracle Advisory build 5.4.0-1134.143~18.04.1 USN-7088-3
Ubuntu bionic linux-buildinfo-5.4.0-1135-aws Advisory build 5.4.0-1135.145~18.04.1 USN-7088-3
Ubuntu bionic linux-buildinfo-5.4.0-1139-gcp Advisory build 5.4.0-1139.148~18.04.1 USN-7088-1
Ubuntu bionic linux-buildinfo-5.4.0-1140-azure Advisory build 5.4.0-1140.147~18.04.1 USN-7088-4
Ubuntu bionic linux-buildinfo-5.4.0-200-generic Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic linux-buildinfo-5.4.0-200-lowlatency Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic linux-cloud-tools-4.15.0-1189-aws Advisory build 4.15.0-1189.202 USN-8112-1
Ubuntu bionic linux-cloud-tools-4.15.0-1197-azure Advisory build 4.15.0-1197.212 USN-8112-3
Ubuntu bionic linux-cloud-tools-4.15.0-2106-azure-fips Advisory build 4.15.0-2106.112 USN-8112-4
Ubuntu bionic linux-cloud-tools-4.15.0-247 Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic linux-cloud-tools-4.15.0-247-generic Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic linux-cloud-tools-4.15.0-247-lowlatency Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic linux-cloud-tools-5.4.0-1135-aws Advisory build 5.4.0-1135.145~18.04.1 USN-7088-3
Ubuntu bionic linux-cloud-tools-5.4.0-1140-azure Advisory build 5.4.0-1140.147~18.04.1 USN-7088-4
Ubuntu bionic linux-cloud-tools-5.4.0-200-generic Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic linux-cloud-tools-5.4.0-200-lowlatency Advisory build 5.4.0-200.220~18.04.1 USN-7088-1
Ubuntu bionic linux-cloud-tools-common Advisory build 4.15.0-247.259 USN-8112-1
Ubuntu bionic linux-fips Advisory build 4.15.0-1144.156 USN-8112-2
Ubuntu bionic linux-fips-headers-4.15.0-1144 Advisory build 4.15.0-1144.156 USN-8112-2
Ubuntu bionic linux-fips-tools-4.15.0-1144 Advisory build 4.15.0-1144.156 USN-8112-2
Ubuntu bionic linux-fips-tools-host Advisory build 4.15.0-1144.156 USN-8112-2
Ubuntu bionic linux-gcp-4.15 Advisory build 4.15.0-1182.199 USN-8112-1
Ubuntu bionic linux-gcp-4.15-headers-4.15.0-1182 Advisory build 4.15.0-1182.199 USN-8112-1
Ubuntu bionic linux-gcp-4.15-tools-4.15.0-1182 Advisory build 4.15.0-1182.199 USN-8112-1
Ubuntu bionic linux-gcp-5.4 Advisory build 5.4.0-1139.148~18.04.1 USN-7088-1
Ubuntu bionic linux-gcp-5.4-headers-5.4.0-1139 Advisory build 5.4.0-1139.148~18.04.1 USN-7088-1
Ubuntu bionic linux-gcp-5.4-tools-5.4.0-1139 Advisory build 5.4.0-1139.148~18.04.1 USN-7088-1
Ubuntu bionic linux-gcp-fips Advisory build 4.15.0-2090.96 USN-8112-2
Ubuntu bionic linux-gcp-fips-headers-4.15.0-2090 Advisory build 4.15.0-2090.96 USN-8112-2
Ubuntu bionic linux-gcp-fips-tools-4.15.0-2090 Advisory build 4.15.0-2090.96 USN-8112-2
Ubuntu bionic linux-headers-4.15.0-1144-fips Advisory build 4.15.0-1144.156 USN-8112-2
Ubuntu bionic linux-headers-4.15.0-1151-oracle Advisory build 4.15.0-1151.162 USN-8112-1
Ubuntu bionic linux-headers-4.15.0-1171-kvm Advisory build 4.15.0-1171.176 USN-8112-1
Ubuntu bionic linux-headers-4.15.0-1182-gcp Advisory build 4.15.0-1182.199 USN-8112-1
Ubuntu bionic linux-headers-4.15.0-1189-aws Advisory build 4.15.0-1189.202 USN-8112-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

35

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.1 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Scenarios
en: AV:N - The flaw is in the `inet_conn_request` LSM hook reached from `tcp_v4_route_req()`/`tcp_conn_request()` on receipt of a TCP/IPv4 SYN, plus the syncookie and DCCP paths, so a remote peer triggers it by connecting over routable IPv4. The attacker-supplied CIPSO tag in the incoming packet is what selects the wrong label, making the attack entirely remote and packet-driven. AC:L - The mislabeling is deterministic — no race, no memory-layout dependence, no timing window; every accepted TCP/IPv4 connection from a host absent from the netlabel host list (the default Smack state) is mislabeled. CIPSO labeling is enabled by default at smackfs init and the built-in labels are pre-populated, so no unusual tuning is needed beyond Smack being the active LSM. PR:N - The hook runs during SYN processing, before the three-way handshake completes and long before any application-level authentication, so the attacker holds no credentials on the target. The attacker further chooses the CIPSO label presented (e.g. the built-in `@`/web label, which `smk_access()` grants against any object), so no policy-granted standing is required either. UI:N - Exploitation needs only a listening socket on the target; no administrator or user on the victim system must open, mount, or click anything. The connection and all subsequent mislabeled traffic are driven entirely by the attacker. S:U - The mislabeling and the resulting authorization failure both occur within the kernel's Smack MAC enforcement, the same security authority that owns the vulnerable code. No virtualization, IOMMU, or hypervisor boundary is crossed. C:H - All data the server sends is stamped with an attacker-chosen label instead of the server process's real label, so the peer's receive-side `smk_access()` check and any CIPSO-aware network enforcement are bypassed and data from a confined or high-sensitivity domain is delivered to a domain with no authorization to read it. With the built-in `@` (web) label the emitted data becomes readable by every subject, a total loss of the confidentiality control for that connection. I:H - Because the reply packets carry the receiver's own label, `smk_access(skp, ssp->smk_in, MAY_WRITE)` is satisfied by Smack's unconditional same-label rule, so a policy rule forbidding the server domain from writing to the client domain is completely bypassed — the commit states "'bar' can write to 'foo' without being authorized to write." Arbitrary data is injected into a MAC domain that must not be written to, a total failure of the integrity control for that flow. A:N - The bug causes packets to carry the wrong security label; it produces no crash, oops, hang, deadlock, or resource exhaustion. Connections continue to operate normally — indeed more permissively than policy intends.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 07feee8f812f7327a46186f7604df312c8c81962 to < d3f56c653c65f170b172d3c23120bc64ada645d8 (affected · git)07feee8f812f7327a46186f7604df312c8c81962 to < 5b4b304f196c070342e32a4752e1fa2e22fc0671 (affected · git)07feee8f812f7327a46186f7604df312c8c81962 to < a948ec993541db4ef392b555c37a1186f4d61670 (affected · git)07feee8f812f7327a46186f7604df312c8c81962 to < 0aea09e82eafa50a373fc8a4b84c1d4734751e2c (affected · git)07feee8f812f7327a46186f7604df312c8c81962 to < 0776bcf9cb6de46fdd94d10118de1cf9b05f83b9 (affected · git)07feee8f812f7327a46186f7604df312c8c81962 to < 4be9fd15c3c88775bdf6fa37acabe6de85beebff (affected · git)07feee8f812f7327a46186f7604df312c8c81962 to < d3703fa94116fed91f64c7d1c7d284fb4369070f (affected · git)07feee8f812f7327a46186f7604df312c8c81962 to < 2fe209d0ad2e2729f7e22b9b31a86cc3ff0db550 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.30 (affected)0 to < 2.6.30 (unaffected · semver)4.19.322 through 4.19.* (unaffected · semver)5.4.284 through 5.4.* (unaffected · semver)5.10.226 through 5.10.* (unaffected · semver)5.15.167 through 5.15.* (unaffected · semver)6.1.109 through 6.1.* (unaffected · semver)6.6.50 through 6.6.* (unaffected · semver)6.10.9 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

3

Linux · cna

smack: tcp: ipv4, fix incorrect labeling

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
cc3bd277210fbed61af49d51e43984fbec2147aeb91bde296498a240e9488ad9
Ingested
23 Sep 2026, 08:28:35 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected