1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00
serenity/Kernel/Devices
Andreas Kling c17f80e720 Kernel: AnonymousVMObject::create_for_physical_range() should fail more
Previously it was not possible for this function to fail. You could
exploit this by triggering the creation of a VMObject whose physical
memory range would wrap around the 32-bit limit.

It was quite easy to map kernel memory into userspace and read/write
whatever you wanted in it.

Test: Kernel/bxvga-mmap-kernel-into-userspace.cpp
2020-01-28 20:48:07 +01:00
..
BlockDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
BlockDevice.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
BXVGADevice.cpp Kernel: AnonymousVMObject::create_for_physical_range() should fail more 2020-01-28 20:48:07 +01:00
BXVGADevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CharacterDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CharacterDevice.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
DebugLogDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
DebugLogDevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Device.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
Device.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
DiskDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
DiskDevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
DiskPartition.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
DiskPartition.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
FloppyDiskDevice.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
FloppyDiskDevice.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
FullDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
FullDevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
GPTPartitionTable.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
GPTPartitionTable.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KeyboardDevice.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
KeyboardDevice.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
MBRPartitionTable.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
MBRPartitionTable.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
MBVGADevice.cpp Kernel: AnonymousVMObject::create_for_physical_range() should fail more 2020-01-28 20:48:07 +01:00
MBVGADevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
NullDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
NullDevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PATAChannel.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
PATAChannel.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
PATADiskDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PATADiskDevice.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
PCSpeaker.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PCSpeaker.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PS2MouseDevice.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
PS2MouseDevice.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
RandomDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RandomDevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SB16.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
SB16.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
SerialDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SerialDevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ZeroDevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ZeroDevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00