Re: Linux 4.15-rc2: Regression in resume from ACPI S3
Linus Torvalds writes: (Summary) And the comment does seem relevant for 32-bit too: relevant for 32-bit too:[...] * and LDT, which happen in fix_processor_context(). You've moved down the 32-bit...
View ArticleLinux 4.15-rc3
Linus Torvalds writes: (Summary) Johnson (1): firmware: cleanup FIRMWARE_IN_KERNEL message Robin Murphy (1): iommu/vt-d: Fix scatterlist offset handling Roger He (5): drm/ttm: use NUM_PAGES_TO_ALLOC...
View ArticleRe: [PATCH] Fix resume on x86-32 machines
Linus Torvalds writes: (Summary) I think we actually leave the user-space percpu segment in %gs (or the stack canary base), so that one we should actually save/restore, but I'm getting the feeling that...
View ArticleRe: [PATCH] Fix resume on x86-32 machines
Linus Torvalds writes: (Summary) On Mon, Dec 11, 2017 at 10:41 AM, Andy Lutomirski <luto@amacapital.net> wrote: [...] do some trivial fix/revert and fix it for real next time around? I don't...
View ArticleRe: [GIT PULL] SCSI fixes for 4.15-rc3
Linus Torvalds writes: (Summary) If you save a pointer in an integer "hostdata[0]" field, then you damn well do the proper casts or helper functions or something, you don't just ignore the compiler...
View ArticleRe: Linux 4.15-rc2: Regression in resume from ACPI S3
Linus Torvalds writes: (Summary) Looking a bit more at this, I think it should be solved by: - load the original read-write GDT early, along with the IDT. We have already saved it off in...
View ArticleRe: [GIT PULL] SCSI fixes for 4.15-rc3
Linus Torvalds writes: (Summary) On Tue, Dec 12, 2017 at 9:22 AM, Martin K. wrote:[...] Arnd and Johannes fixed this up right away: The commit you point to _is_ the probnlem. It does: struct...
View ArticleRe: Linux 4.15-rc2: Regression in resume from ACPI S3
Linus Torvalds writes: (Summary) We only do the fault protection on 32-bit. only do the fault protection on 32-bit. In fact, we really should try to avoid taking faults here anyway, shouldn't we? Hmm....
View ArticleRe: [patch 13/16] x86/ldt: Introduce LDT write fault handler
Linus Torvalds writes: (Summary) wrote: [...] ACCESS bit in the handler. This really scares me. This really scares me. We use segments in some critical code in the kernel, like the whole percpu data...
View ArticleRe: [patch 11/16] x86/ldt: Force access bit for CS/SS
Linus Torvalds writes: (Summary) On Tue, Dec 12, 2017 at 9:32 AM, Thomas Gleixner <tglx@linutronix.de> wrote: [...] the IRET to userspace. Ok, so the other patch made me nervous, this just makes...
View ArticleRe: [patch 13/16] x86/ldt: Introduce LDT write fault handler
Linus Torvalds writes: (Summary) On Tue, Dec 12, 2017 at 11:21 AM, Thomas Gleixner <tglx@linutronix.de> We end up loading the selector for %gs and %fs, and those selectors end up being connected...
View ArticleRe: Linux 4.15-rc2: Regression in resume from ACPI S3
Linus Torvalds writes: (Summary) I'm not sure what's up.) I think your link is just bogus. I think your link is just...
View ArticleRe: [PATCH] lib/string: avoid reading beyond src buffer in strscpy
Linus Torvalds writes: (Summary) No, strnlen_user() definitely does too. No, strnlen_user() definitely does too. It's just that KASAN doesn't track user pointers. It's just that KASAN doesn't track...
View ArticleRe: linux-next: error while fetching the spi-nor tree
Linus Torvalds writes: (Summary) I don't know what infradead.org does, but you can definitely do bad things maintaining a git tree. maintaining a git tree. I would suggest doing a force-push back to...
View ArticleRe: Linux 4.15-rc2: Regression in resume from ACPI S3
Linus Torvalds writes: On Wed, Dec 13, 2017 at 8:41 AM, Thomas Gleixner <tglx@linutronix.de> wrote: [...] out what now causes that spurious interrupt to surface out of the blue. Perhaps just...
View ArticleRe: [patch 05/16] mm: Allow special mappings with user access cleared
Linus Torvalds writes: (Summary) On Wed, Dec 13, 2017 at 7:54 AM, Peter Zijlstra <peterz@infradead.org> wrote: [...] What use are protection keys if you can trivially circumvent them? No, we will...
View ArticleRe: Long live %pK (was Re: [PATCH tip/core/rcu 02/20] torture: Pre ...
Linus Torvalds writes: (Summary) Not the total idiocy that was %pK that never resulted in any actual improvement anywhere. resulted in any actual improvement anywhere.[...] approach to security....
View ArticleRe: [patch 05/16] mm: Allow special mappings with user access cleared
Linus Torvalds writes: (Summary) It's literally extra complexity for no actual real gain, and there is a real downside: the extra complexity that will cause people to get things wrong. that will cause...
View ArticleRe: [patch 05/16] mm: Allow special mappings with user access cleared
Linus Torvalds writes: (Summary) On Wed, Dec 13, 2017 at 10:32 AM, Peter Zijlstra <peterz@infradead.org> wrote: [...] already disallows read(2) from writing to them. So I don't mind at all the...
View ArticleRe: [PATCH] Fix resume on x86-32 machines
Linus Torvalds writes: (Summary) wrote: [...] the cleanups / nicer fixes sometime later? The fix patch was already posted, but in another thread (confusingly with _almost_ the same subject: "Re: Linux...
View Article