ocfs2: fix buffer head management in ocfs2_read_blocks()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ecb3f9386f4353034caef77239473c627232db17, Kernel 4.15, Kernel 4.20 and 16 more.
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix buffer head management in ocfs2_read_blocks() In ocfs2_read_blocks(), caller should't assume that buffer head returned by 'sb_getblk()' is exclusively owned and so 'put_bh()' always drops b_count from 1 to 0. If it is not so, buffer head remains on hold and likely to be returned by the next call to 'sb_getblk()' unchanged - that is, with BH_Uptodate bit set even if it has failed validation previously, thus allowing to insert that buffer head into OCFS2 metadata cache and submit it to upper layers. To avoid such a scenario, BH_Uptodate should be cleared immediately after 'validate()' callback has detected some data inconsistency.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <ecb3f9386f4353034caef77239473c627232db17, >=4.14.157 <4.15, >=4.19.87 <4.20, >=4.4.204 <4.5, >=4.9.204 <4.10, >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <0e389fc290c350c67591abf4c367119f4689f310, >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <4ab17e328522a4df5fe0f0dcf39098118b1feeaa, >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <5927acb3e2c99985a14adecd9d1b67ba191c622d, >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <61f7a5acb3bf8fc97dad78f54b1e8d0e1c819766, >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <6371a07148ee979af22a9d6f4c277462953a9a4a, >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <9e7a057934cdd58e4cc94350bcfe5367bbee0f8e, >=cf76c78595ca87548ca5e45c862ac9e0949c4687 <a4eae1499c760949a93459d11390bd1fd823d31d, =01f93d5e36753fc4d06ec67f05ce78c9c6f2dd56, =4.20, =65cbd1279f4b999d56a838344a30642db24cd215, =6c150df9c2e80b5cf86f5a0d98beb7390ad63bfc, =97e1db17bc1ef4c2e1789bc9323c7be44fba53f8 | ecb3f9386f4353034caef77239473c627232db17, 4.15, 4.20, 4.5, 4.10, 0e389fc290c350c67591abf4c367119f4689f310, 4ab17e328522a4df5fe0f0dcf39098118b1feeaa, 5927acb3e2c99985a14adecd9d1b67ba191c622d, 61f7a5acb3bf8fc97dad78f54b1e8d0e1c819766, 6371a07148ee979af22a9d6f4c277462953a9a4a, 9e7a057934cdd58e4cc94350bcfe5367bbee0f8e, a4eae1499c760949a93459d11390bd1fd823d31d |
| linux-kernel: Kernel | >=4.19.87 <4.20, >=4.20.0 <5.10.261, >=4.4.204 <4.5, >=4.9.204 <4.10, >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.14.157 <4.15 | 4.20, 5.10.261, 4.5, 4.10, 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 4.15 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket