Page MenuHomeFreeBSD

linux: Fix SMAP-enabled futex routines
ClosedPublic

Authored by markj on May 15 2021, 3:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 27 2024, 4:15 AM
Unknown Object (File)
Jan 24 2024, 8:25 PM
Unknown Object (File)
Dec 20 2023, 5:23 AM
Unknown Object (File)
Dec 8 2023, 2:43 PM
Unknown Object (File)
Dec 5 2023, 4:26 PM
Unknown Object (File)
Nov 8 2023, 3:00 PM
Unknown Object (File)
Oct 7 2023, 1:50 PM
Unknown Object (File)
Sep 9 2023, 10:50 AM
Subscribers

Details

Summary

Some of them were dereferencing the user pointer before disabling SMAP.

PR: 255591
Tested by: pitwuu@gmail.com

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.May 15 2021, 3:29 PM

It is indeed weird, because cb0eecdf927 was reported by relatively many people, and you can see testers.

This revision is now accepted and ready to land.May 15 2021, 7:21 PM
In D30276#680193, @kib wrote:

It is indeed weird, because cb0eecdf927 was reported by relatively many people, and you can see testers.

Some of the ops did not have this bug, so I guess only those ops were being used before. The reporter of PR 255591 also claimed that the panic does not occur on 13.0, which is also strange.

This revision was automatically updated to reflect the committed changes.