* TESTING_NOT_REAL_ID_YET: USB: gadget: bRequestType is a bitfield, not a enum
@ 2024-02-16 15:27 Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2024-02-16 15:27 UTC (permalink / raw)
To: linux-cve-announce; +Cc: Greg Kroah-Hartman
From: Greg Kroah-Hartman <gregkh@kernel.org>
Description
===========
USB: gadget: bRequestType is a bitfield, not a enum
Szymon rightly pointed out that the previous check for the endpoint
direction in bRequestType was not looking at only the bit involved, but
rather the whole value. Normally this is ok, but for some request
types, bits other than bit 8 could be set and the check for the endpoint
length could not stall correctly.
Fix that up by only checking the single bit.
The Linux kernel CVE team has assigned TESTING_NOT_REAL_ID_YET to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.4.295 with commit 93cd7100fe47 and fixed in 4.4.296 with commit 2983866fc137
Issue introduced in 4.9.293 with commit d2ca6859ea96 and fixed in 4.9.294 with commit 4dbf2224984f
Issue introduced in 4.14.258 with commit e7c8afee1491 and fixed in 4.14.259 with commit 9b3a3a363591
Issue introduced in 4.19.221 with commit 13e45e7a262d and fixed in 4.19.222 with commit 05da4194e81a
Issue introduced in 5.4.165 with commit fd6de5a0cd42 and fixed in 5.4.168 with commit aae3448b78d9
Issue introduced in 5.10.85 with commit 7193ad3e50e5 and fixed in 5.10.88 with commit 2b54f485f2c1
Issue introduced in 5.15.8 with commit 36dfdf11af49 and fixed in 5.15.11 with commit abd3a33b3f2b
Please see https://www.kernel.org or 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=TESTING_NOT_REAL_ID_YET
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
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/linux/c/2983866fc137
https://git.kernel.org/stable/linux/c/4dbf2224984f
https://git.kernel.org/stable/linux/c/9b3a3a363591
https://git.kernel.org/stable/linux/c/05da4194e81a
https://git.kernel.org/stable/linux/c/aae3448b78d9
https://git.kernel.org/stable/linux/c/2b54f485f2c1
https://git.kernel.org/stable/linux/c/abd3a33b3f2b
^ permalink raw reply [flat|nested] 2+ messages in thread
* TESTING_NOT_REAL_ID_YET: USB: gadget: bRequestType is a bitfield, not a enum
@ 2024-02-12 18:07 Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2024-02-12 18:07 UTC (permalink / raw)
To: linux-cve-announce; +Cc: Linux Kernel CVE team
From: Linux Kernel CVE team <cve@kernel.org>
Description
===========
USB: gadget: bRequestType is a bitfield, not a enum
Szymon rightly pointed out that the previous check for the endpoint
direction in bRequestType was not looking at only the bit involved, but
rather the whole value. Normally this is ok, but for some request
types, bits other than bit 8 could be set and the check for the endpoint
length could not stall correctly.
Fix that up by only checking the single bit.
The Linux kernel CVE team has assigned TESTING_NOT_REAL_ID_YET to this issue.
Mitigation
==========
The individual change to resolve this issue can be found at:
https://git.kernel.org/stable/linux/c/f08adf5add9a071160c68bb2a61d697f39ab0758
Affected versions
=================
Issue introduced in 4.4.295 and fixed in 4.4.296
Issue introduced in 4.9.293 and fixed in 4.9.294
Issue introduced in 4.14.258 and fixed in 4.14.259
Issue introduced in 4.19.221 and fixed in 4.19.222
Issue introduced in 5.4.165 and fixed in 5.4.168
Issue introduced in 5.10.85 and fixed in 5.10.88
Issue introduced in 5.15.8 and fixed in 5.15.11
Recomendation
=============
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are not 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-16 15:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 15:27 TESTING_NOT_REAL_ID_YET: USB: gadget: bRequestType is a bitfield, not a enum Greg Kroah-Hartman
-- strict thread matches above, loose matches on Subject: below --
2024-02-12 18:07 Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.