Bug 1975182

Summary: CVE-2021-33909 kernel: size_t-to-int conversion vulnerability in the filesystem layer [rhel-8.5.0]
Product: Red Hat Enterprise Linux 8 Reporter: Rohit Keshri <rkeshri>
Component: kernelAssignee: Ian Kent <ikent>
kernel sub component: File Systems QA Contact: Murphy Zhou <xzhou>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: urgent CC: acaringi, bhu, brdeoliv, bstinson, carl, dhoward, dhowells, dvlasenk, esandeen, fhrbata, germano.massullo, hkrzesin, jarod, jforbes, joe.lawrence, jshortt, jstancek, jwboyer, kcarcia, lgoncalv, mharri, mszeredi, ngompa13, nmurray, ptalbert, rvrbovsk, swhiteho, vwfoxguru, walters, xzhou
Version: 8.5Keywords: Security, SecurityTracking, Triaged, ZStream
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-4.18.0-326.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:22:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1970273, 1975187    

Description Rohit Keshri 2021-06-23 08:50:21 UTC
rhel-8 tracking bug for kernel: see the bugs linked in the "Blocks" field of this bug for full details of the security issue(s).

This bug is never intended to be made public, please put any public notes in the blocked bugs.

NOTE THIS ISSUE IS CURRENTLY EMBARGOED, DO NOT MAKE PUBLIC COMMITS OR COMMENTS ABOUT THIS ISSUE.

WARNING: NOTICE THAT REMOVING THE "SECURITY" GROUP FROM THIS TRACKER MAY BREAK THE EMBARGO.

Information with regards to this bug is considered Red Hat Confidential until the embargo has lifted. Please post the patch only to the 'rhkernel-team-list' mailing list for review and acks.

For the Enterprise Linux security issues handling process overview see:
https://source.redhat.com/groups/public/product-security/content/product_security_wiki/eus_z_stream_and_security_bugs

Reproducers, if any, will remain confidential and never be made public, unless done so by the security team.

NOTICE: THIS BUG HAS THE DEFAULT OWNER (fs-maint) OVERRIDDEN BECAUSE IT WAS A MAILING LIST OR NON @redhat.com E-MAIL! PLEASE CONTACT secalert IF THIS CONFUSES YOU.

NOTICE: THIS BUG HAS THE DEFAULT QA CONTACT (fs-qe) OVERRIDDEN BECAUSE IT WAS A MAILING LIST OR NON @redhat.com E-MAIL! PLEASE CONTACT secalert IF THIS CONFUSES YOU.

Comment 6 Scott Williams 2021-07-26 19:09:23 UTC
Any guidance for the delay in this kernel updating hitting CentOS Stream vs RHEL 8?  Stream lagging several days behind for the kernel update seems like an anti-pattern for the Stream release cycle, especially for an update with security impact.

Comment 7 Josh Boyer 2021-07-26 19:30:42 UTC
(In reply to Scott Williams from comment #6)
> Any guidance for the delay in this kernel updating hitting CentOS Stream vs
> RHEL 8?  Stream lagging several days behind for the kernel update seems like
> an anti-pattern for the Stream release cycle, especially for an update with
> security impact.

The team is currently working on an update.  As mentioned in several places, RHEL will get Critical and Important CVE updates before CentOS Stream which means the work is prioritized for those releases first.

Comment 8 Scott Williams 2021-07-26 20:32:43 UTC
This seems like a highly significant policy to communicate to end users.  Communication thus far has pitched CentOS Stream as upstream and getting such patches first.  Alma and Rocky getting patches for things like this ahead of Stream really goes against the pitch made to Stream end users.

Comment 9 Brian Stinson 2021-07-26 21:12:34 UTC
Here's how we cover this in the Stream FAQ: https://centos.org/distro-faq/#q4-how-will-cves-be-handled-in-centos-stream

Comment 14 Carl George 🤠 2021-07-28 19:01:23 UTC
The fix for this has been merged in the 8.5 branch and is currently working its way through RHEL gating tests.  Once it passes and is attached to errata, it will be exported to the c8s branch on git.centos.org and built for CentOS Stream 8.  This is the "inside out" process we've referred to previously.  We know it's not ideal, and CentOS Stream 9 improves on this significantly with RHEL maintainers doing their builds directly in the CentOS project, in the public.

Comment 15 Carl George 🤠 2021-07-29 02:53:53 UTC
kernel-4.18.0-326.el8 has been exported to git.centos.org [0] and built for CentOS Stream 8 [1].  It's going out to the mirrors now.

[0] https://git.centos.org/rpms/kernel/c/01ab02ad18f1ef78498a42cc4da392f6632346f6?branch=c8s
[1] https://koji.mbox.centos.org/koji/buildinfo?buildID=18572

Comment 21 errata-xmlrpc 2021-11-09 19:22:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: kernel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4356