Skip to content
Heist/ feed
Back to feed
UnratedFix available

Bluetooth: btrtl: Prevent potential NULL dereference

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btrtl: Prevent potential NULL dereference The btrtl_initialize() function checks that rtl_load_file() either had an error or it loaded a zero length file. However, if it loaded a zero length file then the error code is not set correctly. It results in an error pointer vs NULL bug, followed by a NULL pointer dereference. This was detected by Smatch: drivers/bluetooth/btrtl.c:592 btrtl_initialize() warn: passing zero to 'ERR_PTR'

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.237, 5.15.181, 5.4.293, 6.1.135, 6.12.25, 6.14.4, 6.6.88
CVEs
CVE-2025-37792
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:15 UTC · Revision 1

Source evidence

Bluetooth: btrtl: Prevent potential NULL dereference

core-osv · Original source

Published 1 May 2025, 13:07 UTC

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btrtl: Prevent potential NULL dereference The btrtl_initialize() function checks that rtl_load_file() either had an error or it loaded a zero length file. However, if it loaded a zero length file then the error code is not set correctly. It results in an error pointer vs NULL bug, followed by a NULL pointer dereference. This was detected by Smatch: drivers/bluetooth/btrtl.c:592 btrtl_initialize() warn: passing zero to 'ERR_PTR'

osv:CVE-2025-37792

Kernel

Fixed versions: 5.4.293, 5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.25, 6.14.4

Complete source record
{
  "id": "c7dcb876546eac484b192381712d29b8685492f0c676e24c7a8db955c5d2fb74",
  "url": "https://osv.dev/vulnerability/CVE-2025-37792",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bluetooth: btrtl: Prevent potential NULL dereference",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btrtl: Prevent potential NULL dereference The btrtl_initialize() function checks that rtl_load_file() either had an error or it loaded a zero length file. However, if it loaded a zero length file then the error code is not set correctly. It results in an error pointer vs NULL bug, followed by a NULL pointer dereference. This was detected by Smatch: drivers/bluetooth/btrtl.c:592 btrtl_initialize() warn: passing zero to 'ERR_PTR'",
    "evidence": "osv:CVE-2025-37792",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.293",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.237",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.135",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.88",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.25",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-37792",
      "aliases": [
        "CVE-2025-37792"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "26503ad25de8c7c93a2037f919c2e49a62cf65f1"
                },
                {
                  "fixed": "c3e9717276affe59fd8213706db021b493e81e34"
                },
                {
                  "fixed": "73dc99c0ea94abd22379b2d82cacbc73f3e18ec1"
                },
                {
                  "fixed": "2d7c60c2a38b4b461fa960ad0995136a6bfe0756"
                },
                {
                  "fixed": "d8441818690d795232331bd8358545c5c95b6b72"
                },
                {
                  "fixed": "3db6605043b50c8bb768547b23e0222f67ceef3e"
                },
                {
                  "fixed": "aaf356f872a60db1e96fb762a62c4607fd22741f"
                },
                {
                  "fixed": "53ceef799dcfc22c734d600811bfc9dd32eaea0a"
                },
                {
                  "fixed": "324dddea321078a6eeb535c2bff5257be74c9799"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37792.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.19.0"
                },
                {
                  "fixed": "5.4.293"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.237"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.135"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.88"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.25"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37792.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.286404133Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2d7c60c2a38b4b461fa960ad0995136a6bfe0756",
        "https://git.kernel.org/stable/c/324dddea321078a6eeb535c2bff5257be74c9799",
        "https://git.kernel.org/stable/c/3db6605043b50c8bb768547b23e0222f67ceef3e",
        "https://git.kernel.org/stable/c/53ceef799dcfc22c734d600811bfc9dd32eaea0a",
        "https://git.kernel.org/stable/c/73dc99c0ea94abd22379b2d82cacbc73f3e18ec1",
        "https://git.kernel.org/stable/c/aaf356f872a60db1e96fb762a62c4607fd22741f",
        "https://git.kernel.org/stable/c/c3e9717276affe59fd8213706db021b493e81e34",
        "https://git.kernel.org/stable/c/d8441818690d795232331bd8358545c5c95b6b72",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37792.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-37792",
        "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/2025/37xxx/CVE-2025-37792.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-37792",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 509754,
  "published_at": "2025-05-01T13:07:24.882+00:00"
}