Skip to content
Heist/ feed
Back to feed
HighFix available

mm: vmalloc: check if a hash-index is in cpu_possible_mask

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: mm: vmalloc: check if a hash-index is in cpu_possible_mask The problem is that there are systems where cpu_possible_mask has gaps between set CPUs, for example SPARC. In this scenario addr_to_vb_xa() hash function can return an index which accesses to not-possible and not setup CPU area using per_cpu() macro. This results in an oops on SPARC. A per-cpu vmap_block_queue is also used as hash table, incorrectly assuming the cpu_possible_mask has no gaps. Fix it by adjusting an index to a next possible CPU.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.6.41, 6.9.10
CVEs
CVE-2024-41032
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:27 UTC · Revision 1

Source evidence

mm: vmalloc: check if a hash-index is in cpu_possible_mask

core-osv · Original source

Published 29 Jul 2024, 14:31 UTC

In the Linux kernel, the following vulnerability has been resolved: mm: vmalloc: check if a hash-index is in cpu_possible_mask The problem is that there are systems where cpu_possible_mask has gaps between set CPUs, for example SPARC. In this scenario addr_to_vb_xa() hash function can return an index which accesses to not-possible and not setup CPU area using per_cpu() macro. This results in an oops on SPARC. A per-cpu vmap_block_queue is also used as hash table, incorrectly assuming the cpu_possible_mask has no gaps. Fix it by adjusting an index to a next possible CPU.

osv:CVE-2024-41032

Kernel

Fixed versions: 6.6.41, 6.9.10

Complete source record
{
  "id": "b914137cb8f81fdd8b4b2dfbcbb83f69ae0819a76f4a96dd7584eabe5775776b",
  "url": "https://osv.dev/vulnerability/CVE-2024-41032",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mm: vmalloc: check if a hash-index is in cpu_possible_mask",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: mm: vmalloc: check if a hash-index is in cpu_possible_mask The problem is that there are systems where cpu_possible_mask has gaps between set CPUs, for example SPARC. In this scenario addr_to_vb_xa() hash function can return an index which accesses to not-possible and not setup CPU area using per_cpu() macro. This results in an oops on SPARC. A per-cpu vmap_block_queue is also used as hash table, incorrectly assuming the cpu_possible_mask has no gaps. Fix it by adjusting an index to a next possible CPU.",
    "evidence": "osv:CVE-2024-41032",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.41",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-41032",
      "aliases": [
        "CVE-2024-41032"
      ],
      "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": "062eacf57ad91b5c272f89dc964fd6dd9715ea7d"
                },
                {
                  "fixed": "28acd531c9a365dac01b32e6bc54aed8c1429bcb"
                },
                {
                  "fixed": "47f9b6e49b422392fb0e348a65eb925103ba1882"
                },
                {
                  "fixed": "a34acf30b19bc4ee3ba2f1082756ea2604c19138"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41032.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.6.41"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41032.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.831426317Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/28acd531c9a365dac01b32e6bc54aed8c1429bcb",
        "https://git.kernel.org/stable/c/47f9b6e49b422392fb0e348a65eb925103ba1882",
        "https://git.kernel.org/stable/c/a34acf30b19bc4ee3ba2f1082756ea2604c19138",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41032.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-41032",
        "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/41xxx/CVE-2024-41032.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-41032",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503108,
  "published_at": "2024-07-29T14:31:47.6+00:00"
}