Bug 2295910 - kernel: From NVD collector
Summary: kernel: From NVD collector
Keywords:
Status: CLOSED DUPLICATE of bug 2296067
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-05 09:20 UTC by OSIDB Bzimport
Modified: 2024-07-12 13:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-05 21:31:00 UTC
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-05 09:20:41 UTC
In the Linux kernel, the following vulnerability has been resolved:

xfs: fix log recovery buffer allocation for the legacy h_size fixup

Commit a70f9fe52daa ("xfs: detect and handle invalid iclog size set by
mkfs") added a fixup for incorrect h_size values used for the initial
umount record in old xfsprogs versions.  Later commit 0c771b99d6c9
("xfs: clean up calculation of LR header blocks") cleaned up the log
reover buffer calculation, but stoped using the fixed up h_size value
to size the log recovery buffer, which can lead to an out of bounds
access when the incorrect h_size does not come from the old mkfs
tool, but a fuzzer.

Fix this by open coding xlog_logrec_hblks and taking the fixed h_size
into account for this calculation.

Comment 1 Mauro Matteo Cascella 2024-07-05 21:31:00 UTC

*** This bug has been marked as a duplicate of bug 2296067 ***


Note You need to log in before you can comment on or make changes to this bug.