Skip to content
Heist/ feed
Back to feed
HighFix available

btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info() Instead of doing a BUG_ON() handle the error by returning -EUCLEAN, aborting the transaction and logging an error message.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.238, 5.15.184, 6.1.140, 6.10.10, 6.6.92
CVEs
CVE-2024-46751
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 10:32 UTC · Revision 1

Source evidence

btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()

core-osv · Original source

Published 18 Sept 2024, 07:12 UTC

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info() Instead of doing a BUG_ON() handle the error by returning -EUCLEAN, aborting the transaction and logging an error message.

osv:CVE-2024-46751

Kernel

Fixed versions: 5.10.238, 5.15.184, 6.1.140, 6.6.92, 6.10.10

Complete source record
{
  "id": "eeed46c0308dced470f124ed2e349603593e190f36a1e0bd8aba46dea5e99153",
  "url": "https://osv.dev/vulnerability/CVE-2024-46751",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info() Instead of doing a BUG_ON() handle the error by returning -EUCLEAN, aborting the transaction and logging an error message.",
    "evidence": "osv:CVE-2024-46751",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.238",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.184",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.140",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.92",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-46751",
      "aliases": [
        "CVE-2024-46751"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0"
                },
                {
                  "fixed": "9c309d2434abbe880712af7e60da9ead8b6703fe"
                },
                {
                  "fixed": "d64807ded1b6054f066e03d8add6d920f3db9e5d"
                },
                {
                  "fixed": "18eb53a2734ff61b9a72c4fef5db7b38cb48ae16"
                },
                {
                  "fixed": "3cfec712a439c5c5f5c718c5c669ee41a898f776"
                },
                {
                  "fixed": "ef9a8b73c8b60b27d9db4787e624a3438ffe8428"
                },
                {
                  "fixed": "28cb13f29faf6290597b24b728dc3100c019356f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46751.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.31"
                },
                {
                  "fixed": "5.10.238"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.184"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.140"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.92"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46751.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.953522466Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/18eb53a2734ff61b9a72c4fef5db7b38cb48ae16",
        "https://git.kernel.org/stable/c/28cb13f29faf6290597b24b728dc3100c019356f",
        "https://git.kernel.org/stable/c/3cfec712a439c5c5f5c718c5c669ee41a898f776",
        "https://git.kernel.org/stable/c/9c309d2434abbe880712af7e60da9ead8b6703fe",
        "https://git.kernel.org/stable/c/d64807ded1b6054f066e03d8add6d920f3db9e5d",
        "https://git.kernel.org/stable/c/ef9a8b73c8b60b27d9db4787e624a3438ffe8428",
        "https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46751.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-46751",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46751.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-46751",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 511633,
  "published_at": "2024-09-18T07:12:11.24+00:00"
}