CVE-2024-27397

Published May 14, 2024

Last updated 2 months ago

Overview

Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: use timestamp to check for set element timeout Add a timestamp field at the beginning of the transaction, store it in the nftables per-netns area. Update set backend .insert, .deactivate and sync gc path to use the timestamp, this avoids that an element expires while control plane transaction is still unfinished. .lookup and .update, which are used from packet path, still use the current time to check if the element has expired. And .get path and dump also since this runs lockless under rcu read size lock. Then, there is async gc which also needs to check the current time since it runs asynchronously from a workqueue.
Source
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Products
linux_kernel

Risk scores

CVSS 3.1

Type
Primary
Base score
7
Impact score
5.9
Exploitability score
1
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity
HIGH

Weaknesses

nvd@nist.gov
CWE-416

Social media

Hype score
Not currently trending
  1. ''Linux Kernel Privilege Escalation Vulnerability (CVE-2024-27397) Exploited: PoC Released'' #infosec #pentest #redteam #blueteam https://t.co/pjvhj0AJ43

    @CyberWarship

    21 Jan 2025

    1879 Impressions

    10 Retweets

    19 Likes

    8 Bookmarks

    0 Replies

    0 Quotes

  2. CVE-2024-27397 PoC Exploit Code Released #CVE-2024-27397 #PoCExploitCode #LinuxKernel https://t.co/wTwQ8dSlbd

    @pravin_karthik

    17 Jan 2025

    23 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. Una vulnerabilidad recientemente revelada en el componente de nf_tables netfilter del kernel de Linux (CVE-2024-27397) ha hecho saltar las alarmas en la comunidad de ciberseguridad. Esta falla de uso después de liberar, que afecta a las versiones 4.1 a 6.8 del kernel. https://t.c

    @AlexCalvillo_SI

    15 Jan 2025

    19 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. Critical vulnerability CVE-2024-27397 in the Linux kernel could allow local privilege escalation. Affects versions 4.1-6.8. Immediate updates recommended. ⚠️ #LinuxVulnerability #PrivilegeEscalation #USA #CybersecurityNews link: https://t.co/2KjSBAnhM7 https://t.co/beXSDTBIve

    @TweetThreatNews

    14 Jan 2025

    24 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  5. Linux Kernel Yetki Yükseltme Zafiyeti (CVE-2024-27397) İstismar Ediliyor: PoC Yayınlandı https://t.co/1VyMkkh3Yw

    @cyberwebeyeos

    14 Jan 2025

    25 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. Linux Kernel Privilege Escalation Vulnerability (CVE-2024-27397) Exploited: PoC Released https://t.co/mgALCkHBSH

    @Dinosn

    14 Jan 2025

    3395 Impressions

    12 Retweets

    33 Likes

    14 Bookmarks

    0 Replies

    1 Quote

  7. Linux Kernel Privilege Escalation Vulnerability (CVE-2024-27397) Exploited: PoC Released https://t.co/v5ILmP9OGU "This use-after-free flaw, which affects versions 4.1 through 6.8, has a CVSS score of 7.0, signifying its potential to allow local privilege escalation."

    @catnap707

    14 Jan 2025

    4 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

Configurations

  1. In the Linux kernel, the following vulnerability has been resolved: ipv6: account for fraggap on the paged allocation path In __ip6_append_data(), when the paged-allocation branch is taken (MSG_MORE / NETIF_F_SG / large fraglen), alloclen and pagedlen are computed as alloclen = fragheaderlen + transhdrlen; pagedlen = datalen - transhdrlen; datalen already includes fraggap (datalen = length + fraggap). When fraggap is non-zero, this is not the first skb and transhdrlen is zero. The fraggap bytes carried over from the previous skb are copied just past the fragment headers in the new skb's linear area. The linear area is therefore undersized by fraggap bytes while pagedlen is overstated by the same amount, and the copy writes past skb->end into the trailing skb_shared_info. An unprivileged user can trigger this via a UDPv6 socket using MSG_MORE together with MSG_SPLICE_PAGES. The bad accounting was introduced by commit 773ba4fe9104 ("ipv6: avoid partial copy for zc"). Before commit ce650a166335 ("udp6: Fix __ip6_append_data()'s handling of MSG_SPLICE_PAGES"), the negative copy value caused -EINVAL to be returned. That later commit allowed MSG_SPLICE_PAGES to proceed in this case, making the corruption triggerable. The non-paged branch sets alloclen to fraglen, which already accounts for fraggap because datalen does. Bring the paged branch in line by adding fraggap to alloclen and subtracting it from pagedlen. After this adjustment, copy no longer collapses to -fraggap on the paged path, so remove the stale comment describing that old arithmetic. Since a negative copy is no longer expected for a valid MSG_SPLICE_PAGES case, remove the MSG_SPLICE_PAGES exception from the negative copy check.CVE-2026-53362