[LTS 9.2] CVE-2022-49791 #348
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[LTS 9.2]
CVE-2022-49791
VULN-65958
Problem
https://www.cve.org/CVERecord?id=CVE-2022-49791
Hard to say what the issue really is about or what is leaking. Fortunately for us, it doesn't matter - see below.
Background
The
io_uring
module is a newly developed system call for asynchronous I/O based on ring buffer, aiming to improve performance compared to synchronousread()
/write()
, as well as providing a simpler interface compared to existing async AIO API and expanding its scope1, 2, 3.Applicability analysis
Two premises lead to consider the bug not applicable to LTS 9.2:
The 390ed29 commit (1) marked in 9148286 as introducing the bug was not backported to LTS 9.2 (the continuity of LTS 9.2 with the mainline of the files affected by either the bug or the fix (
include/uapi/linux/io_uring.h
,include/linux/io_uring.h
,io_uring/io_uring.h
,io_uring/io_uring.c
,io_uring/net.c
) ended a month before (2), on 2022-04-10, while the bug was introduced on 2022-05-14)The
CONFIG_IO_URING
option enabling theio_uring
feature is not set inciqlts9_2
Footnotes
1 https://www.phoronix.com/news/Linux-io_uring-Fast-Efficient
2 https://stackoverflow.com/questions/13407542/is-there-really-no-asynchronous-block-i-o-on-linux
3 https://www.man7.org/linux/man-pages/man7/aio.7.html