ocfs2: add journal NULL check in ocfs2_checkpoint_inode()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eb6a13834c23e291f1170cb1b489ec255edfa5a3, Kernel 24daf13422e8328fd588c34a017bdef1949910e8, Kernel 499714de42ab4d2e778cbb10186684142a1222eb and 8 more.
In the Linux kernel, the following vulnerability has been resolved: ocfs2: add journal NULL check in ocfs2_checkpoint_inode() During unmount, ocfs2_journal_shutdown() frees the journal and sets osb->journal to NULL. Later, when VFS evicts remaining cached inodes, ocfs2_evict_inode() -> ocfs2_clear_inode() -> ocfs2_checkpoint_inode() -> ocfs2_ci_fully_checkpointed() dereferences osb->journal, causing a NULL pointer dereference. Fix this by adding a NULL check for osb->journal in ocfs2_checkpoint_inode(). If the journal is NULL, it has already been fully flushed and destroyed during shutdown, so there is nothing to checkpoint.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <eb6a13834c23e291f1170cb1b489ec255edfa5a3, >=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <24daf13422e8328fd588c34a017bdef1949910e8, >=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <499714de42ab4d2e778cbb10186684142a1222eb, >=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <63921f790234b221e4b15c56c72888b13250f81d, >=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <7da7e4ac21895fe34cceffcfc99497cc2750da99, >=da5e7c87827e8caa6a1eeec6d95dcf74ab592a01 <a291c77c034b7a81849ce9b71cc9ecda9e587d89, =5.16 | eb6a13834c23e291f1170cb1b489ec255edfa5a3, 24daf13422e8328fd588c34a017bdef1949910e8, 499714de42ab4d2e778cbb10186684142a1222eb, 63921f790234b221e4b15c56c72888b13250f81d, 7da7e4ac21895fe34cceffcfc99497cc2750da99, a291c77c034b7a81849ce9b71cc9ecda9e587d89 |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.16.0 <6.1.178 | 6.18.40, 7.1.5, 6.6.145, 6.12.97, 6.1.178 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket