Skip to content
Heist/ feed
Back to feed
HighFix available

linux — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2024-35969

In the Linux kernel, the following vulnerability has been resolved: ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr Although ipv6_get_ifaddr walks inet6_addr_lst under the RCU lock, it still means hlist_for_each_entry_rcu can return an item that got removed from the list. The memory itself of such item is not freed thanks to RCU but nothing guarantees the actual content of the memory is sane. In particular, the reference count can be zero. This can happen if ipv6_del_addr is called in parallel. ipv6_del_addr removes the entry from inet6_addr_lst (hlist_del_init_rcu(&ifp->addr_lst)) and drops all references (__in6_ifa_put(ifp) + in6_ifa_put(ifp)). With bad enough timing, this can happen: 1. In ipv6_get_ifaddr, hlist_for_each_entry_rcu returns an entry. 2. Then, the whole ipv6_del_addr is executed for the given entry. The reference count drops to zero and kfree_rcu is scheduled. 3. ipv6_get_ifaddr continues and tries to increments the reference count (in6_ifa_hold). 4. The rcu is unlocked and the entry is freed. 5. The freed entry is returned. Prevent increasing of the reference count in such case. The name in6_ifa_hold_safe is chosen to mimic the existing fib6_info_hold_safe. [ 41.506330] refcount_t: addition on 0; use-after-free. [ 41.506760] WARNING: CPU: 0 PID: 595 at lib/refcount.c:25 refcount_warn_saturate+0xa5/0x130 [ 41.507413] Modules linked in: veth bridge stp llc [ 41.507821] CPU: 0 PID: 595 Comm: python3 Not tainted 6.9.0-rc2.main-00208-g49563be82

Products
linux
Affected versions
6.1.27-1, 6.1.37-1, 6.1.38-1, 6.1.38-2, 6.1.38-2~bpo11+1, 6.1.38-3, 6.1.38-4, 6.1.38-4~bpo11+1, 6.1.52-1, 6.1.55-1, 6.1.55-1~bpo11+1, 6.1.64-1, 6.1.66-1, 6.1.67-1, 6.1.69-1, 6.1.69-1~bpo11+1, 6.1.76-1, 6.1.76-1~bpo11+1, 6.1.82-1, 6.1.85-1, 6.1.90-1~bpo11+1
Fixed versions
6.1.90-1, 6.8.9-1
CVEs
CVE-2024-35969
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:20 UTC · Revision 1

Source evidence

DEBIAN-CVE-2024-35969

core-osv · Original source

Published 20 May 2024, 10:15 UTC

In the Linux kernel, the following vulnerability has been resolved: ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr Although ipv6_get_ifaddr walks inet6_addr_lst under the RCU lock, it still means hlist_for_each_entry_rcu can return an item that got removed from the list. The memory itself of such item is not freed thanks to RCU but nothing guarantees the actual content of the memory is sane. In particular, the reference count can be zero. This can happen if ipv6_del_addr is called in parallel. ipv6_del_addr removes the entry from inet6_addr_lst (hlist_del_init_rcu(&ifp->addr_lst)) and drops all references (__in6_ifa_put(ifp) + in6_ifa_put(ifp)). With bad enough timing, this can happen: 1. In ipv6_get_ifaddr, hlist_for_each_entry_rcu returns an entry. 2. Then, the whole ipv6_del_addr is executed for the given entry. The reference count drops to zero and kfree_rcu is scheduled. 3. ipv6_get_ifaddr continues and tries to increments the reference count (in6_ifa_hold). 4. The rcu is unlocked and the entry is freed. 5. The freed entry is returned. Prevent increasing of the reference count in such case. The name in6_ifa_hold_safe is chosen to mimic the existing fib6_info_hold_safe. [ 41.506330] refcount_t: addition on 0; use-after-free. [ 41.506760] WARNING: CPU: 0 PID: 595 at lib/refcount.c:25 refcount_warn_saturate+0xa5/0x130 [ 41.507413] Modules linked in: veth bridge stp llc [ 41.507821] CPU: 0 PID: 595 Comm: python3 Not tainted 6.9.0-rc2.main-00208-g49563be82

osv:DEBIAN-CVE-2024-35969

linux

Fixed versions: 6.1.90-1

linux

Fixed versions: 6.8.9-1

linux

Fixed versions: 6.8.9-1

Complete source record
{
  "id": "f5e2eb54ecd3b1c3464efff09283c9cea0f034ef1e8aa1b9c5248d827a5cf951",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-35969",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2024-35969",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr Although ipv6_get_ifaddr walks inet6_addr_lst under the RCU lock, it still means hlist_for_each_entry_rcu can return an item that got removed from the list. The memory itself of such item is not freed thanks to RCU but nothing guarantees the actual content of the memory is sane. In particular, the reference count can be zero. This can happen if ipv6_del_addr is called in parallel. ipv6_del_addr removes the entry from inet6_addr_lst (hlist_del_init_rcu(&ifp->addr_lst)) and drops all references (__in6_ifa_put(ifp) + in6_ifa_put(ifp)). With bad enough timing, this can happen: 1. In ipv6_get_ifaddr, hlist_for_each_entry_rcu returns an entry. 2. Then, the whole ipv6_del_addr is executed for the given entry. The reference count drops to zero and kfree_rcu is scheduled. 3. ipv6_get_ifaddr continues and tries to increments the reference count (in6_ifa_hold). 4. The rcu is unlocked and the entry is freed. 5. The freed entry is returned. Prevent increasing of the reference count in such case. The name in6_ifa_hold_safe is chosen to mimic the existing fib6_info_hold_safe. [ 41.506330] refcount_t: addition on 0; use-after-free. [ 41.506760] WARNING: CPU: 0 PID: 595 at lib/refcount.c:25 refcount_warn_saturate+0xa5/0x130 [ 41.507413] Modules linked in: veth bridge stp llc [ 41.507821] CPU: 0 PID: 595 Comm: python3 Not tainted 6.9.0-rc2.main-00208-g49563be82",
    "evidence": "osv:DEBIAN-CVE-2024-35969",
    "products": [
      {
        "name": {
          "value": "linux",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.90-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "6.1.27-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.37-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-2~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.38-4~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.52-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.55-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.55-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.64-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.66-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.67-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.69-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.69-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.76-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.76-1~bpo11+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.82-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.85-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.90-1~bpo11+1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "linux",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.8.9-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "linux",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.8.9-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2024-35969",
      "aliases": [
        "DEBIAN-CVE-2024-35969"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.1.90-1"
                }
              ]
            }
          ],
          "package": {
            "name": "linux",
            "purl": "pkg:deb/debian/linux?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "6.1.27-1",
            "6.1.37-1",
            "6.1.38-1",
            "6.1.38-2",
            "6.1.38-2~bpo11+1",
            "6.1.38-3",
            "6.1.38-4",
            "6.1.38-4~bpo11+1",
            "6.1.52-1",
            "6.1.55-1",
            "6.1.55-1~bpo11+1",
            "6.1.64-1",
            "6.1.66-1",
            "6.1.67-1",
            "6.1.69-1",
            "6.1.69-1~bpo11+1",
            "6.1.76-1",
            "6.1.76-1~bpo11+1",
            "6.1.82-1",
            "6.1.85-1",
            "6.1.90-1~bpo11+1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-35969.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.8.9-1"
                }
              ]
            }
          ],
          "package": {
            "name": "linux",
            "purl": "pkg:deb/debian/linux?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-35969.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.8.9-1"
                }
              ]
            }
          ],
          "package": {
            "name": "linux",
            "purl": "pkg:deb/debian/linux?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-35969.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:29.741254030Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-35969"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2024-35969"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-35969",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327502,
  "published_at": "2024-05-20T10:15:11.78+00:00"
}