Skip to content
Heist/ feed
Back to feed
UnratedFix available

powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT lppaca_shared_proc() takes a pointer to the lppaca which is typically accessed through get_lppaca(). With DEBUG_PREEMPT enabled, this leads to checking if preemption is enabled, for example: BUG: using smp_processor_id() in preemptible [00000000] code: grep/10693 caller is lparcfg_data+0x408/0x19a0 CPU: 4 PID: 10693 Comm: grep Not tainted 6.5.0-rc3 #2 Call Trace: dump_stack_lvl+0x154/0x200 (unreliable) check_preemption_disabled+0x214/0x220 lparcfg_data+0x408/0x19a0 ... This isn't actually a problem however, as it does not matter which lppaca is accessed, the shared proc state will be the same. vcpudispatch_stats_procfs_init() already works around this by disabling preemption, but the lparcfg code does not, erroring any time /proc/powerpc/lparcfg is accessed with DEBUG_PREEMPT enabled. Instead of disabling preemption on the caller side, rework lppaca_shared_proc() to not take a pointer and instead directly access the lppaca, bypassing any potential preemption checks. [mpe: Rework to avoid needing a definition in paca.h and lppaca.h]

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.195, 5.15.132, 6.1.53, 6.4.16, 6.5.3
CVEs
CVE-2023-54267
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:48 UTC · Revision 1

Source evidence

powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT

core-osv · Original source

Published 30 Dec 2025, 12:15 UTC

In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT lppaca_shared_proc() takes a pointer to the lppaca which is typically accessed through get_lppaca(). With DEBUG_PREEMPT enabled, this leads to checking if preemption is enabled, for example: BUG: using smp_processor_id() in preemptible [00000000] code: grep/10693 caller is lparcfg_data+0x408/0x19a0 CPU: 4 PID: 10693 Comm: grep Not tainted 6.5.0-rc3 #2 Call Trace: dump_stack_lvl+0x154/0x200 (unreliable) check_preemption_disabled+0x214/0x220 lparcfg_data+0x408/0x19a0 ... This isn't actually a problem however, as it does not matter which lppaca is accessed, the shared proc state will be the same. vcpudispatch_stats_procfs_init() already works around this by disabling preemption, but the lparcfg code does not, erroring any time /proc/powerpc/lparcfg is accessed with DEBUG_PREEMPT enabled. Instead of disabling preemption on the caller side, rework lppaca_shared_proc() to not take a pointer and instead directly access the lppaca, bypassing any potential preemption checks. [mpe: Rework to avoid needing a definition in paca.h and lppaca.h]

osv:CVE-2023-54267

Kernel

Fixed versions: 5.10.195, 5.15.132, 6.1.53, 6.4.16, 6.5.3

Complete source record
{
  "id": "3c21aebfa52e655804f0a05d2a6e3a7d50ca176938477b1aef7ca16f13774a25",
  "url": "https://osv.dev/vulnerability/CVE-2023-54267",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT lppaca_shared_proc() takes a pointer to the lppaca which is typically accessed through get_lppaca(). With DEBUG_PREEMPT enabled, this leads to checking if preemption is enabled, for example: BUG: using smp_processor_id() in preemptible [00000000] code: grep/10693 caller is lparcfg_data+0x408/0x19a0 CPU: 4 PID: 10693 Comm: grep Not tainted 6.5.0-rc3 #2 Call Trace: dump_stack_lvl+0x154/0x200 (unreliable) check_preemption_disabled+0x214/0x220 lparcfg_data+0x408/0x19a0 ... This isn't actually a problem however, as it does not matter which lppaca is accessed, the shared proc state will be the same. vcpudispatch_stats_procfs_init() already works around this by disabling preemption, but the lparcfg code does not, erroring any time /proc/powerpc/lparcfg is accessed with DEBUG_PREEMPT enabled. Instead of disabling preemption on the caller side, rework lppaca_shared_proc() to not take a pointer and instead directly access the lppaca, bypassing any potential preemption checks. [mpe: Rework to avoid needing a definition in paca.h and lppaca.h]",
    "evidence": "osv:CVE-2023-54267",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.195",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.132",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.4.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.5.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-54267",
      "aliases": [
        "CVE-2023-54267"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f13c13a005127b5dc5daaca190277a062d946e63"
                },
                {
                  "fixed": "953c54dfdc5d3eb7243ed902b50acb5ea1db4355"
                },
                {
                  "fixed": "2935443dc9c28499223d8c881474259e4b998f2a"
                },
                {
                  "fixed": "4c8568cf4c45b415854195c8832b557cdefba57a"
                },
                {
                  "fixed": "3c5e8e666794d7dde6d14ea846c6c04f2bb34900"
                },
                {
                  "fixed": "f45ee5c074013a0fbfce77a5af5efddb01f5d4f4"
                },
                {
                  "fixed": "eac030b22ea12cdfcbb2e941c21c03964403c63f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54267.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.12.0"
                },
                {
                  "fixed": "5.10.195"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.132"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.4.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.5.0"
                },
                {
                  "fixed": "6.5.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54267.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.041417709Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2935443dc9c28499223d8c881474259e4b998f2a",
        "https://git.kernel.org/stable/c/3c5e8e666794d7dde6d14ea846c6c04f2bb34900",
        "https://git.kernel.org/stable/c/4c8568cf4c45b415854195c8832b557cdefba57a",
        "https://git.kernel.org/stable/c/953c54dfdc5d3eb7243ed902b50acb5ea1db4355",
        "https://git.kernel.org/stable/c/eac030b22ea12cdfcbb2e941c21c03964403c63f",
        "https://git.kernel.org/stable/c/f45ee5c074013a0fbfce77a5af5efddb01f5d4f4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54267.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54267",
        "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/2023/54xxx/CVE-2023-54267.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54267",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 521929,
  "published_at": "2025-12-30T12:15:58.914+00:00"
}