OS Dev

413 posts

OS Dev banner
OS Dev

OS Dev

@OSdev_

Senior Engineer @Qualcomm - Performance Engineering | Windows kernel | C/C++ | ARM64 | CPU & Memory Microarchitectures | SoC's

void* Sumali Haziran 2024
755 Sinusundan3.2K Mga Tagasunod
Naka-pin na Tweet
OS Dev
OS Dev@OSdev_·
Read “Windows Internals: Thread Management — Part 1“ by OS Dev on Medium: This article discusses about ETHREAD, KTHREAD kernel objects & windows scheduler - how it schedules a thread. medium.com/windows-os-int…
English
3
24
160
14.2K
OS Dev
OS Dev@OSdev_·
Bensoussan, Clingen & Daley (1972) – The Multics Virtual Memory: Concepts and Design Explains the combination of segmentation and paging that influenced modern VM systems. ed-thelen.org/MulticsVM.pdf
OS Dev tweet media
English
0
2
16
362
OS Dev
OS Dev@OSdev_·
One of the most interesting Windows NT kernel bugs is MS08-067 - tracked as CVE-2008-4250 - learn.microsoft.com/en-us/security… The vulnerability was in the Server service ("srvsvc") and was triggered remotely through a crafted RPC request. An unchecked path parsing routine led to a stack buffer overflow, allowing attackers to execute code in kernel-related services without authentication. It became the primary infection vector for the Conficker worm, proving that a single parsing bug could compromise millions of Windows machines worldwide.
English
0
5
24
1.1K
OS Dev
OS Dev@OSdev_·
Daley & Dennis (1968) – Virtual Memory, Processes, and Sharing in MULTICS Introduces segmentation and virtual memory concepts. andrew.cmu.edu/course/15-440/…
OS Dev tweet media
English
1
6
52
1.1K
OS Dev
OS Dev@OSdev_·
I’d like to sponsor this FPGA learning kit for a deserving student who genuinely wants to learn FPGA but can’t afford it. Just a small help from my side. @VazeKshitij @Vicharak_In, could you help me find someone who would benefit from this opportunity?
Vicharak@Vicharak_In

English
3
1
23
1.6K
Aryamman Bhatia
Aryamman Bhatia@aryamman_bhatia·
In a few years you’ll be able to have a chip lab in your hostel room
Aryamman Bhatia tweet mediaAryamman Bhatia tweet media
English
18
21
340
15K
OS Dev
OS Dev@OSdev_·
Randell & Kuehner's Dynamic Storage Allocation Systems (1968) is one of the earliest papers that studies how operating systems allocate and reclaim memory at runtime. Instead of proposing a new allocator, it surveys existing allocation techniques and classifies them based on their design and trade-offs. The paper discusses fixed-size and variable-size allocation schemes, relocation, protection, and different placement algorithms such as first fit and best fit. A major focus is memory fragmentation, especially external fragmentation, and how it affects long-running systems. It highlights the limitations of contiguous allocation and provides a framework for evaluating dynamic storage management techniques that later influenced modern memory management designs. *This motivated the innovation of Paging*
OS Dev@OSdev_

Randell & Kuehner (1968) – Dynamic Storage Allocation Systems One of the classic surveys explaining contiguous allocation techniques and fragmentation problems. researchgate.net/profile/Brian-…

English
0
5
40
2.2K
OS Dev
OS Dev@OSdev_·
@splinedrive That's incredible man. Could you please share any articles or blogs that I can follow along ?
English
0
0
3
182
logic destroyer
logic destroyer@splinedrive·
I think I need to finish my SoC and use it as my daily machine. The more I learn, the less I trust the existing stack — from vendor silicon to distribution packages. At some point, building everything yourself starts to look like the only way to know what's really running.
logic destroyer@splinedrive

Wir sind gefickt!

English
4
1
27
2.1K
OS Dev
OS Dev@OSdev_·
@abhi9u That's very unfortunate. Trusting only software without any hardware backing up in safety-critical systems is very risky.
English
1
0
7
1K
Abhinav Upadhyay
Abhinav Upadhyay@abhi9u·
TIL about a race condition bug in a radiation therapy machine called Therac-25 that caused the deaths of 3 patients. Therac was a radiation therapy machine for treating cancer patients. It had two modes: electron beam for shallower treatment, and high-energy x-ray/photon for deeper treatments. The older models of the machine had hardware interlocks as safety mechanisms to prevent any bad configuration from ever happening. Then came Therac-25 that removed many of the hardware interlocks in favor of implementing them in software. There was a race condition in which if an operator entered the wrong mode (e.g. x-ray) and then switched it quickly within 8 seconds, the mode would not be updated. As a result, the patient could end up receiving massive overdose of radiation. Between 1985-87, six such accidents were known to have occurred, leading to the death of at least 3 patients. Wikipedia notes this as a case study in software engineering and the danger of engineer overconfidence.
Abhinav Upadhyay tweet media
English
12
37
301
20.1K
OS Dev
OS Dev@OSdev_·
Randell & Kuehner (1968) – Dynamic Storage Allocation Systems One of the classic surveys explaining contiguous allocation techniques and fragmentation problems. researchgate.net/profile/Brian-…
OS Dev tweet media
English
0
8
51
3.7K
OS Dev
OS Dev@OSdev_·
Windows NT kernel bug CVE-2022-21882 - sentinelone.com/vulnerability-… The vulnerability abuses a use-after-free in "win32k.sys". By carefully manipulating window objects and their lifetime, an attacker can make the kernel operate on a freed object that is now under attacker control. This primitive is then used to achieve arbitrary kernel read/write and finally swap the current process token with the SYSTEM token.
English
0
13
67
3.1K
OS Dev
OS Dev@OSdev_·
One of the most fascinating Windows kernel bugs is CVE-2023-21768 - sentinelone.com/blog/cve-2023-… A simple integer overflow in the Common Log File System (CLFS) driver causes the kernel to allocate less memory than required but continue writing as if the buffer was large enough. The resulting out-of-bounds write corrupts adjacent kernel objects, giving attackers arbitrary kernel read/write and eventually SYSTEM privileges.
English
0
13
47
2.4K
OS Dev
OS Dev@OSdev_·
One of the most interesting Windows NT kernel bugs is CVE-2018-8611 - nccgroup.com/research/cve-2… It's a series of 5 articles. The exploit didn't need to overflow any buffer. Instead, it abuses a race condition in the Kernel Transaction Manager (KTM) to create a use-after-free. Once the attacker gets an arbitrary kernel read/write, it's game over, they simply replace their process token with the SYSTEM token and instantly become SYSTEM.
OS Dev tweet mediaOS Dev tweet media
English
0
28
127
6.4K
OS Dev
OS Dev@OSdev_·
One unchecked integer multiplication can own the entire Windows kernel. In CVE-2024-30088, an integer overflow caused the kernel to allocate a smaller buffer than required while continuing to process it as if it were large enough. The resulting out-of-bounds write let attackers corrupt kernel memory, build arbitrary read/write primitives, and ultimately replace their process token with the SYSTEM token. github.com/tykawaii98/CVE…
English
0
15
73
4.5K
OS Dev
OS Dev@OSdev_·
CVE-2021-1732 is a great example of how a tiny logic bug can compromise the entire Windows kernel. During "NtUserCreateWindowEx()", an attacker abuses a user-mode callback to confuse "win32k.sys" about a window's "cbWndExtra" and "pExtraBytes" fields. This type confusion turns "SetWindowLongPtr()" into an arbitrary kernel read/write primitive, allowing the attacker to overwrite the current process token with the SYSTEM token and gain full privileges. safe.security/wp-content/upl…
English
0
16
115
8.2K
IIT (BHU), Varanasi
IIT (BHU), Varanasi@IITBHU_Varanasi·
IIT (BHU) students have completed the institute’s first-ever silicon tape-out! Primarily led by second-year B.Tech students from the Department of Electronics Engineering, the team designed a 64-point FFT Hardware Accelerator chip in just 5 months using the SKY130 process and submitted it for fabrication through the Tiny Tapeout MPW Shuttle Program. FFT technology is a key component in modern communication systems, AI applications, medical imaging, GPS, radar, and multimedia platforms, making this achievement a significant step in hands-on semiconductor innovation. A landmark accomplishment for undergraduate research, indigenous chip design, and India’s journey towards technological self-reliance. #IITBHU #Semiconductors #ChipDesign #VLSI #AtmanirbharBharat
IIT (BHU), Varanasi tweet mediaIIT (BHU), Varanasi tweet mediaIIT (BHU), Varanasi tweet media
English
7
34
193
7.1K