Commit 27b5d61
committed
Merge tag 'x86-urgent-2022-05-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Thomas Gleixner:
"A fix and an email address update:
- Prevent FPU state corruption.
The condition in irq_fpu_usable() grants FPU usage when the FPU is
not used in the kernel. That's just wrong as it does not take the
fpregs_lock()'ed regions into account. If FPU usage happens within
such a region from interrupt context, then the FPU state gets
corrupted.
That's a long standing bug, which got unearthed by the recent
changes to the random code.
- Josh wants to use his kernel.org email address"
* tag 'x86-urgent-2022-05-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/fpu: Prevent FPU state corruption
MAINTAINERS: Update Josh Poimboeuf's email address2 files changed
Lines changed: 31 additions & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7499 | 7499 | | |
7500 | 7500 | | |
7501 | 7501 | | |
7502 | | - | |
| 7502 | + | |
7503 | 7503 | | |
7504 | 7504 | | |
7505 | 7505 | | |
| |||
11348 | 11348 | | |
11349 | 11349 | | |
11350 | 11350 | | |
11351 | | - | |
| 11351 | + | |
11352 | 11352 | | |
11353 | 11353 | | |
11354 | 11354 | | |
| |||
14224 | 14224 | | |
14225 | 14225 | | |
14226 | 14226 | | |
14227 | | - | |
| 14227 | + | |
14228 | 14228 | | |
14229 | 14229 | | |
14230 | 14230 | | |
| |||
18792 | 18792 | | |
18793 | 18793 | | |
18794 | 18794 | | |
18795 | | - | |
| 18795 | + | |
18796 | 18796 | | |
18797 | 18797 | | |
18798 | 18798 | | |
| |||
21444 | 21444 | | |
21445 | 21445 | | |
21446 | 21446 | | |
21447 | | - | |
| 21447 | + | |
21448 | 21448 | | |
21449 | 21449 | | |
21450 | 21450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 44 | + | |
55 | 45 | | |
56 | 46 | | |
57 | 47 | | |
58 | 48 | | |
59 | 49 | | |
60 | 50 | | |
61 | 51 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 52 | | |
87 | 53 | | |
88 | 54 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 55 | | |
93 | 56 | | |
94 | 57 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
98 | 83 | | |
99 | 84 | | |
100 | 85 | | |
| |||
0 commit comments