CVE-2024-46859 (GCVE-0-2024-46859)
Vulnerability from cvelistv5
Published
2024-09-27 12:42
Modified
2026-08-05 11:39
Summary
In the Linux kernel, the following vulnerability has been resolved: platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses The panasonic laptop code in various places uses the SINF array with index values of 0 - SINF_CUR_BRIGHT(0x0d) without checking that the SINF array is big enough. Not all panasonic laptops have this many SINF array entries, for example the Toughbook CF-18 model only has 10 SINF array entries. So it only supports the AC+DC brightness entries and mute. Check that the SINF array has a minimum size which covers all AC+DC brightness entries and refuse to load if the SINF array is smaller. For higher SINF indexes hide the sysfs attributes when the SINF array does not contain an entry for that attribute, avoiding show()/store() accessing the array out of bounds and add bounds checking to the probe() and resume() code accessing these.
Impacted products
Vendor Product Version
Linux Linux Version: e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Version: e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Version: e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Version: e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Version: e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-46859",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-29T13:57:08.389850Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-29T13:57:13.392Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:19:46.186Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/platform/x86/panasonic-laptop.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b7c2f692307fe704be87ea80d7328782b33c3cef",
              "status": "affected",
              "version": "e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6",
              "versionType": "git"
            },
            {
              "lessThan": "9291fadbd2720a869b1d2fcf82305648e2e62a16",
              "status": "affected",
              "version": "e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6",
              "versionType": "git"
            },
            {
              "lessThan": "6821a82616f60aa72c5909b3e252ad97fb9f7e2a",
              "status": "affected",
              "version": "e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6",
              "versionType": "git"
            },
            {
              "lessThan": "b38c19783286a71693c2194ed1b36665168c09c4",
              "status": "affected",
              "version": "e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6",
              "versionType": "git"
            },
            {
              "lessThan": "f52e98d16e9bd7dd2b3aef8e38db5cbc9899d6a4",
              "status": "affected",
              "version": "e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/platform/x86/panasonic-laptop.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.3"
            },
            {
              "lessThan": "3.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.11",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.168",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.111",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.52",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.11",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: panasonic-laptop: Fix SINF array out of bounds accesses\n\nThe panasonic laptop code in various places uses the SINF array with index\nvalues of 0 - SINF_CUR_BRIGHT(0x0d) without checking that the SINF array\nis big enough.\n\nNot all panasonic laptops have this many SINF array entries, for example\nthe Toughbook CF-18 model only has 10 SINF array entries. So it only\nsupports the AC+DC brightness entries and mute.\n\nCheck that the SINF array has a minimum size which covers all AC+DC\nbrightness entries and refuse to load if the SINF array is smaller.\n\nFor higher SINF indexes hide the sysfs attributes when the SINF array\ndoes not contain an entry for that attribute, avoiding show()/store()\naccessing the array out of bounds and add bounds checking to the probe()\nand resume() code accessing these."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The out-of-bounds accesses are reached through sysfs attribute files under /sys/bus/acpi/devices/MAT00xx:00/ on the affected Panasonic laptop, which require local access to the machine (an ordinary read()/write() on a device file). There is no network or remote-peer path into this ACPI platform driver.\nAC:L - On an affected system the attacker simply reads the sysfs attribute and the driver indexes past the end of pcc-\u003esinf every single time \u2014 no race, no timing window, and no memory-layout grooming is needed for the read primitive. The short SINF array is a fixed property of the target\u0027s firmware (the vulnerable configuration being scored), not a per-attempt condition the attacker must win.\nPR:L - The affected attributes are created with DEVICE_ATTR_RW, i.e. mode 0644, so mute_show(), eco_mode_show() and current_brightness_show() are world-readable and any unprivileged local account can trigger the out-of-bounds reads and have the leaked u32 returned to it. No capability, no group membership, and no namespace tricks are required.\nUI:N - Exploitation is a self-contained read (or write) of a sysfs file by the attacker\u0027s own process; no victim has to log in, open a file, mount anything, or take any other action. The probe-time and resume-time out-of-bounds accesses likewise occur without any deliberate user step.\nS:U - The corrupted and disclosed memory is kernel slab memory belonging to the same kernel security authority that hosts the driver. There is no crossing of a hypervisor, IOMMU, or sandbox boundary.\nC:H - current_brightness_show() and mute_show() emit the out-of-bounds u32 directly to userspace via sysfs_emit(), giving an unprivileged local user a repeatable kernel-heap read primitive that can be sampled arbitrarily often to harvest adjacent slab contents (kernel pointers, other objects\u0027 data) for KASLR defeat and further exploitation. When SQTY reports a very small count the read at index 0x0D lands dozens of bytes past a tiny kmalloc-8 allocation, spanning several neighbouring slab objects.\nI:H - eco_mode_store() performs an out-of-bounds heap write (pcc-\u003esinf[SINF_ECO_MODE] = 0/1) whenever the SINF array is shorter than 11 entries, corrupting adjacent slab objects; per kernel scoring guidance an out-of-bounds write is High because attacker-chosen heap grooming can place a security-relevant structure at the overwritten offset and turn it into a control-flow or privilege primitive.\nA:H - The out-of-bounds slab accesses trip KASAN/slub_debug redzone checks, which on hardened or panic_on_warn configurations bring the machine down, and the out-of-bounds write can corrupt neighbouring slab metadata or objects leading to an oops or panic. Per kernel guidance any such crash is scored High."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:39:04.276Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b7c2f692307fe704be87ea80d7328782b33c3cef"
        },
        {
          "url": "https://git.kernel.org/stable/c/9291fadbd2720a869b1d2fcf82305648e2e62a16"
        },
        {
          "url": "https://git.kernel.org/stable/c/6821a82616f60aa72c5909b3e252ad97fb9f7e2a"
        },
        {
          "url": "https://git.kernel.org/stable/c/b38c19783286a71693c2194ed1b36665168c09c4"
        },
        {
          "url": "https://git.kernel.org/stable/c/f52e98d16e9bd7dd2b3aef8e38db5cbc9899d6a4"
        }
      ],
      "title": "platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-46859",
    "datePublished": "2024-09-27T12:42:49.801Z",
    "dateReserved": "2024-09-11T15:12:18.291Z",
    "dateUpdated": "2026-08-05T11:39:04.276Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T22:19:46.186Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-46859\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-29T13:57:08.389850Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-29T13:57:09.568Z\"}}], \"cna\": {\"title\": \"platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6\", \"lessThan\": \"b7c2f692307fe704be87ea80d7328782b33c3cef\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6\", \"lessThan\": \"9291fadbd2720a869b1d2fcf82305648e2e62a16\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6\", \"lessThan\": \"6821a82616f60aa72c5909b3e252ad97fb9f7e2a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6\", \"lessThan\": \"b38c19783286a71693c2194ed1b36665168c09c4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6\", \"lessThan\": \"f52e98d16e9bd7dd2b3aef8e38db5cbc9899d6a4\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/platform/x86/panasonic-laptop.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.3\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.3\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.168\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.111\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.52\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/platform/x86/panasonic-laptop.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b7c2f692307fe704be87ea80d7328782b33c3cef\"}, {\"url\": \"https://git.kernel.org/stable/c/9291fadbd2720a869b1d2fcf82305648e2e62a16\"}, {\"url\": \"https://git.kernel.org/stable/c/6821a82616f60aa72c5909b3e252ad97fb9f7e2a\"}, {\"url\": \"https://git.kernel.org/stable/c/b38c19783286a71693c2194ed1b36665168c09c4\"}, {\"url\": \"https://git.kernel.org/stable/c/f52e98d16e9bd7dd2b3aef8e38db5cbc9899d6a4\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nplatform/x86: panasonic-laptop: Fix SINF array out of bounds accesses\\n\\nThe panasonic laptop code in various places uses the SINF array with index\\nvalues of 0 - SINF_CUR_BRIGHT(0x0d) without checking that the SINF array\\nis big enough.\\n\\nNot all panasonic laptops have this many SINF array entries, for example\\nthe Toughbook CF-18 model only has 10 SINF array entries. So it only\\nsupports the AC+DC brightness entries and mute.\\n\\nCheck that the SINF array has a minimum size which covers all AC+DC\\nbrightness entries and refuse to load if the SINF array is smaller.\\n\\nFor higher SINF indexes hide the sysfs attributes when the SINF array\\ndoes not contain an entry for that attribute, avoiding show()/store()\\naccessing the array out of bounds and add bounds checking to the probe()\\nand resume() code accessing these.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.168\", \"versionStartIncluding\": \"3.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.111\", \"versionStartIncluding\": \"3.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.52\", \"versionStartIncluding\": \"3.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.11\", \"versionStartIncluding\": \"3.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"3.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-11T20:37:55.914Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-46859\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-11T20:37:55.914Z\", \"dateReserved\": \"2024-09-11T15:12:18.291Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-09-27T12:42:49.801Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…