{"id":"CVE-2026-89436","published":"2026-09-11T19:43:06Z","modified":"2026-10-19T08:46:44Z","title":"platform/x86: panasonic-laptop: Fix sentinel write past pcc->sinf[]","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: panasonic-laptop: Fix sentinel write past pcc->sinf[]\n\nacpi_pcc_retrieve_biosdata() rejects SINF packages only when\npcc->num_sifr is strictly less than hkey->package.count, then\nunconditionally writes a trailing sentinel at\npcc->sinf[hkey->package.count]. But pcc->sinf[] is allocated with\nexactly pcc->num_sifr elements (valid indices 0..num_sifr-1), so that\nwrite needs num_sifr strictly greater than package.count to stay in\nbounds -- num_sifr == package.count passes the existing check but\nstill overflows by one element.\n\nThis is exactly the case probe()'s existing num_sifr++ workaround\n(\"Some DSDT-s have an off-by-one bug where the SINF package count is\none higher than the SQTY reported value\") is written to accommodate:\nwhen a DSDT's SINF package count equals SQTY+1, the workaround makes\nnum_sifr equal to package.count, which is precisely the boundary that\noverflows here. Found via UBSan (array-index-out-of-bounds) on\nhardware where HKEY.SQTY returns 37 and HKEY.SINF()'s package has 38\nelements: num_sifr becomes 38 after the += 1 workaround, the loop\ncorrectly fills indices 0..37, and the sentinel write then targets\nindex 38, one past the end -- a silent 4-byte heap overflow on kernels\nwithout CONFIG_UBSAN.\n\nTightening the rejection check to num_sifr <= package.count would\navoid the overflow but breaks probe() entirely on exactly this\nhardware, since num_sifr == package.count is the case the off-by-one\nworkaround exists to support. Nothing else in the driver reads this\nsentinel value back, so simply skip the write when there is no room\nfor it instead.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00178,"percentile":0.07387,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a93df956ee4d903735b6d395362c839cb1dc07e3","tags":[]},{"url":"https://git.kernel.org/stable/c/329f10d8be193bf36af124e00b9dd6644cd71724","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.48},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a3d0dbd18ce908292607bb6cf37c978ece8a33d4, < a93df956ee4d903735b6d395362c839cb1dc07e3",">= a3d0dbd18ce908292607bb6cf37c978ece8a33d4, < 329f10d8be193bf36af124e00b9dd6644cd71724"]},{"vendor":"Linux","product":"Linux","versions":["7.2"]}],"euvd":{"id":"EUVD-2026-76342","exploited":false,"provenance":"source"}}