Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2024-35821

ubifs: Set page uptodate in the correct place

Description

In the Linux kernel, the following vulnerability has been resolved: ubifs: Set page uptodate in the correct place Page cache reads are lockless, so setting the freshly allocated page uptodate before we've overwritten it with the data it's supposed to have in it will allow a simultaneous reader to see old data. Move the call to SetPageUptodate into ubifs_write_end(), which is after we copied the new data into the page.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < 4aa554832b9dc9e66249df75b8f447d87853e12eaffected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < 778c6ad40256f1c03244fc06d7cdf71f6b5e7310affected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < 8f599ab6fabbca4c741107eade70722a98adfd9faffected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < f19b1023a3758f40791ec166038d6411c8894ae3affected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < 142d87c958d9454c3cffa625fab56f3016e8f9f3affected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < fc99f4e2d2f1ce766c14e98463c2839194ae964faffected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < 4b7c4fc60d6a46350fbe54f5dc937aeaa02e675eaffected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < 17772bbe9cfa972ea1ff827319f6e1340de76566affected
  • 1e51764a3c2ac05a23a22b2a95ddee4d9bffb16d to < 723012cab779eee8228376754e22c6594229bf8faffected

Linux Linux

Default version status: affected

  • 2.6.27affected
  • 0 to < 2.6.27unaffected
  • 4.19.312 to ≤ 4.19.*unaffected
  • 5.4.274 to ≤ 5.4.*unaffected
  • 5.10.215 to ≤ 5.10.*unaffected
  • 5.15.154 to ≤ 5.15.*unaffected
  • 6.1.84 to ≤ 6.1.*unaffected
  • 6.6.24 to ≤ 6.6.*unaffected
  • 6.7.12 to ≤ 6.7.*unaffected
  • 6.8.3 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References