CVE-2023-53550

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53550
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53550.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53550
Downstream
Related
Published
2025-10-04T15:16:57Z
Modified
2025-10-21T17:17:00.002116Z
Summary
cpufreq: amd-pstate: fix global sysfs attribute type
Details

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: amd-pstate: fix global sysfs attribute type

In commit 3666062b87ec ("cpufreq: amd-pstate: move to use busgetdevroot()") the "amdpstate" attributes where moved from a dedicated kobject to the cpu root kobject.

While the dedicated kobject expects to contain kobjattributes the root kobject needs deviceattributes.

As the changed arguments are not used by the callbacks it works most of the time. However CFI will detect this issue:

[ 4947.849350] CFI failure at devattrshow+0x24/0x60 (target: showstatus+0x0/0x70; expected type: 0x8651b1de) ... [ 4947.849409] Call Trace: [ 4947.849410] <TASK> [ 4947.849411] ? _warn+0xcf/0x1c0 [ 4947.849414] ? devattrshow+0x24/0x60 [ 4947.849415] ? reportcfifailure+0x4e/0x60 [ 4947.849417] ? handlecfifailure+0x14c/0x1d0 [ 4947.849419] ? _cfishowstatus+0x10/0x10 [ 4947.849420] ? handlebug+0x4f/0x90 [ 4947.849421] ? excinvalidop+0x1a/0x60 [ 4947.849422] ? asmexcinvalidop+0x1a/0x20 [ 4947.849424] ? _cfishowstatus+0x10/0x10 [ 4947.849425] ? devattrshow+0x24/0x60 [ 4947.849426] sysfskfseqshow+0xa6/0x110 [ 4947.849433] seqreaditer+0x16c/0x4b0 [ 4947.849436] vfsread+0x272/0x2d0 [ 4947.849438] ksysread+0x72/0xe0 [ 4947.849439] dosyscall64+0x76/0xb0 [ 4947.849440] ? douseraddrfault+0x252/0x650 [ 4947.849442] ? excpagefault+0x7a/0x1b0 [ 4947.849443] entrySYSCALL64afterhwframe+0x72/0xdc

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3666062b87ec8be4b85dc475dfb54bb17e10a7f6
Fixed
ddcfc33a20380508f7fea18e1c330abe17ed4fc0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3666062b87ec8be4b85dc475dfb54bb17e10a7f6
Fixed
5e720f8c8c9d959283c3908bbf32a91a01a86547

Affected versions

v6.*

v6.3
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.4.1
v6.4.10
v6.4.2
v6.4.3
v6.4.4
v6.4.5
v6.4.6
v6.4.7
v6.4.8
v6.4.9
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.11