[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024111941-CVE-2024-50281-f70e@gregkh>
Date: Tue, 19 Nov 2024 02:32:36 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-50281: KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operation
When sealing or unsealing a key blob we currently do not wait for
the AEAD cipher operation to finish and simply return after submitting
the request. If there is some load on the system we can exit before
the cipher operation is done and the buffer we read from/write to
is already removed from the stack. This will e.g. result in NULL
pointer dereference errors in the DCP driver during blob creation.
Fix this by waiting for the AEAD cipher operation to finish before
resuming the seal and unseal calls.
The Linux kernel CVE team has assigned CVE-2024-50281 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit 0e28bf61a5f9 and fixed in 6.11.8 with commit c75e0272289e
Issue introduced in 6.11 with commit 0e28bf61a5f9 and fixed in 6.12 with commit 04de7589e0a9
Issue introduced in 6.10.7 with commit 9e3b266afcfe
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-50281
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
security/keys/trusted-keys/trusted_dcp.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/c75e0272289eae18c5379518a9c56ef31d65cc7d
https://git.kernel.org/stable/c/04de7589e0a95167d803ecadd115235ba2c14997
Powered by blists - more mailing lists