Bug 2214348 (CVE-2023-3212) - CVE-2023-3212 kernel: gfs2: NULL pointer dereference in gfs2_evict_inode()
Summary: CVE-2023-3212 kernel: gfs2: NULL pointer dereference in gfs2_evict_inode()
Keywords:
Status: NEW
Alias: CVE-2023-3212
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2214349 2214356 2214357 2214358 2214359
Blocks: 2196660
TreeView+ depends on / blocked
 
Reported: 2023-06-12 17:43 UTC by Alex
Modified: 2023-12-07 15:52 UTC (History)
44 users (show)

Fixed In Version: kernel 6.4-rc2
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference flaw was found in the gfs2 file system in the Linux kernel. This issue occurs on corrupt gfs2 file systems when the evict code tries to reference the journal descriptor structure after it has been freed and set to NULL. This flaw allows a privileged local user to cause a kernel panic.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:6835 0 None None None 2023-11-09 07:10:58 UTC
Red Hat Product Errata RHBA-2023:7268 0 None None None 2023-11-15 18:24:55 UTC
Red Hat Product Errata RHBA-2023:7328 0 None None None 2023-11-16 11:39:04 UTC
Red Hat Product Errata RHBA-2023:7338 0 None None None 2023-11-16 18:04:27 UTC
Red Hat Product Errata RHBA-2023:7343 0 None None None 2023-11-20 01:58:58 UTC
Red Hat Product Errata RHBA-2023:7346 0 None None None 2023-11-20 09:25:58 UTC
Red Hat Product Errata RHSA-2023:6583 0 None None None 2023-11-07 08:20:29 UTC
Red Hat Product Errata RHSA-2023:6901 0 None None None 2023-11-14 15:15:44 UTC
Red Hat Product Errata RHSA-2023:7077 0 None None None 2023-11-14 15:21:04 UTC

Description Alex 2023-06-12 17:43:07 UTC
A flaw in the Linux Kernel found in the GFS2 file system. On corrupted gfs2 file systems the evict code can try to reference the journal descriptor structure, jdesc, after it has been freed and set to NULL. It can lead to null pointer dereference when gfs2_trans_begin being called and then fail ingfs2_evict_inode().

Reference:  
https://listman.redhat.com/archives/cluster-devel/2023-April/023914.html

Comment 1 Alex 2023-06-12 17:45:57 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2214349]

Comment 2 Justin M. Forbes 2023-06-12 17:54:27 UTC
This was fixed for Fedora with the 6.3.7 stable kernel updates.

Comment 5 Mauro Matteo Cascella 2023-06-22 08:40:56 UTC
Upstream commit:
https://github.com/torvalds/linux/commit/504a10d9e46bc37b23d0a1ae2f28973c8516e636

Comment 10 errata-xmlrpc 2023-11-07 08:20:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6583 https://access.redhat.com/errata/RHSA-2023:6583

Comment 11 errata-xmlrpc 2023-11-14 15:15:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:6901 https://access.redhat.com/errata/RHSA-2023:6901

Comment 12 errata-xmlrpc 2023-11-14 15:21:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7077 https://access.redhat.com/errata/RHSA-2023:7077


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