DEBIAN-CVE-2022-50844

Source
https://security-tracker.debian.org/tracker/CVE-2022-50844
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50844.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2022-50844
Upstream
Published
2025-12-30T13:15:59.013Z
Modified
2025-12-31T11:20:18.262656Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix type of second parameter in odneditdpmtable() callback With clang's kernel control flow integrity (kCFI, CONFIGCFICLANG), indirect call targets are validated against the expected function pointer prototype to make sure the call target is valid to help mitigate ROP attacks. If they are not identical, there is a failure at run time, which manifests as either a kernel panic or thread getting killed. A proposed warning in clang aims to catch these at compile time, which reveals: drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpusmu.c:3008:29: error: incompatible function pointer types initializing 'int ()(void *, uint32_t, long *, uint32_t)' (aka 'int ()(void *, unsigned int, long *, unsigned int)') with an expression of type 'int (void *, enum PPODDPMTABLECOMMAND, long *, uint32t)' (aka 'int (void *, enum PPODDPMTABLECOMMAND, long *, unsigned int)') [-Werror,-Wincompatible-function-pointer-types-strict] .odneditdpmtable = smuodeditdpmtable, ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. There are only two implementations of ->odneditdpmtable() in 'struct amdpmfuncs': smuodeditdpmtable() and ppodneditdpmtable(). One has a second parameter type of 'enum PPODDPMTABLECOMMAND' and the other uses 'u32'. Ultimately, smuodeditdpmtable() calls ->odeditdpmtable() from 'struct pptablefuncs' and ppodneditdpmtable() calls ->odneditdpmtable() from 'struct pphwmgrfunc', which both have a second parameter type of 'enum PPODDPMTABLECOMMAND'. Update the type parameter in both the prototype in 'struct amdpmfuncs' and ppodneditdpmtable() to 'enum PPODDPMTABLECOMMAND', which cleans up the warning.

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.178-1

Affected versions

5.*

5.10.46-4
5.10.46-5
5.10.70-1~bpo10+1
5.10.70-1
5.10.84-1
5.10.92-1~bpo10+1
5.10.92-1
5.10.92-2
5.10.103-1~bpo10+1
5.10.103-1
5.10.106-1
5.10.113-1
5.10.120-1~bpo10+1
5.10.120-1
5.10.127-1
5.10.127-2~bpo10+1
5.10.127-2
5.10.136-1
5.10.140-1
5.10.148-1
5.10.149-1
5.10.149-2
5.10.158-1
5.10.158-2
5.10.162-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50844.json"

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50844.json"

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50844.json"

Debian:14 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source

"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50844.json"