CVE-2024-36031

NameCVE-2024-36031
DescriptionIn the Linux kernel, the following vulnerability has been resolved: keys: Fix overwrite of key expiration on instantiation The expiry time of a key is unconditionally overwritten during instantiation, defaulting to turn it permanent. This causes a problem for DNS resolution as the expiration set by user-space is overwritten to TIME64_MAX, disabling further DNS updates. Fix this by restoring the condition that key_set_expiry is only called when the pre-parser sets a specific expiry.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3843-1, DSA-5703-1, ELA-1120-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)jessie, jessie (lts)3.16.84-1vulnerable
stretch (security)4.9.320-2vulnerable
stretch (lts), stretch4.9.320-3vulnerable
buster (security), buster, buster (lts)4.19.316-1fixed
bullseye (security), bullseye5.10.223-1fixed
bookworm6.1.106-3fixed
bookworm (security)6.1.99-1fixed
trixie6.10.6-1fixed
sid6.10.7-1fixed
linux-5.10 (PTS)jessie, jessie (lts)5.10.218-1~deb8u1fixed
stretch (lts), stretch5.10.218-1~deb9u1fixed
buster (security), buster, buster (lts)5.10.218-1~deb10u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcejessie(unfixed)end-of-life
linuxsourcestretch(unfixed)end-of-life
linuxsourcebuster(not affected)
linuxsourcebullseye5.10.218-1DSA-5703-1
linuxsourcebookworm6.1.94-1
linuxsource(unstable)6.8.11-1
linux-5.10sourcejessie5.10.218-1~deb8u1ELA-1120-1
linux-5.10sourcestretch5.10.218-1~deb9u1ELA-1120-1
linux-5.10sourcebuster5.10.218-1~deb10u1DLA-3843-1

Notes

[buster] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/9da27fb65a14c18efd4473e2e82b76b53ba60252 (6.10-rc1)

Search for package or bug name: Reporting problems