Detailed Explanation of Interrupts in ARMv8/ARMv9 – Interrupt Examples (Virtualization Part)

Detailed Explanation of Interrupts in ARMv8/ARMv9 - Interrupt Examples (Virtualization Part)

Click the blue "Arm Selected" in the top left corner and select "Set as Star" Drainage Keywords: armv8, armv9, gic, gicv2, gicv3, exceptions, interrupts, irq, fiq, serror, sync, synchronous exceptions, asynchronous exceptions, vector table, vector table base address, VBAR, vbar_el3, interrupt nesting, interrupt cascading, Linux Kernel, optee, ATF, TF-A, optee, hypervisor, SPM The relevant control … Read more

Detailed Explanation of ARMv8/ARMv9 Interrupts – Preface

Detailed Explanation of ARMv8/ARMv9 Interrupts - Preface

1. Preface Learning with questions, some thoughts on exceptions/interrupts: (1) In a large system like the one below, when the CPU is running in OP-TEE OS, and suddenly an interrupt (like a Bluetooth interrupt) that needs to be handled by the Linux Kernel arrives, what is the software and hardware flow at this moment? (2) … Read more

Multi-Size THP Creation: Two Different Approaches

Multi-Size THP Creation: Two Different Approaches

February 13, 2025 The primary benefit from subscribing to LWN is helping to keep us publishing, but, beyond that, subscribers get immediate access to all site content and access to a number of extra site features. Please sign up today! The primary benefit from subscribing to LWN is helping us maintain our publishing, but beyond … Read more

Solution to U-Boot Firmware Extraction Issues

Solution to U-Boot Firmware Extraction Issues

Author: Waterdrop Lab Heng An Jiaxin 1. Background With the development of the technological era, Internet of Things (IoT) devices are rapidly developing across various industries, driving industrial upgrades and the arrival of the intelligent era. However, their security is particularly important, raising requirements for security research and improving protection. IoT security involves many aspects, … Read more

Analysis of 0-Day Exploit in Qualcomm MSM Linux Kernel and ARM Mali GPU

Analysis of 0-Day Exploit in Qualcomm MSM Linux Kernel and ARM Mali GPU

Overview This article mainly discusses five kernel vulnerabilities in the Snapdragon chipsets and ARM Mali GPU. These vulnerabilities have been reported to CISA KEV (Known Exploited Vulnerabilities Catalog). It is understood that all vulnerabilities have been exploited in the wild. Currently, the details of the exploit have not been publicly disclosed, and vendors have released … Read more

pwru – A Networking Debugger Based on Linux Kernel and BPF

pwru - A Networking Debugger Based on Linux Kernel and BPF

In nearly a decade of our involvement in cloud-native network development, we have deeply realized that troubleshooting network issues, even in small environments, can turn into a nightmare. Much of the complexity arises from the Linux kernel itself—sending a single packet can involve dozens of kernel functions from different subsystems. Traditional tools like tcpdump often … Read more

Tencent Engineer Submits Patch to Linux Kernel Introducing Swap Table Architecture

Tencent Engineer Submits Patch to Linux Kernel Introducing Swap Table Architecture

Source: Reprinted with permission from OSC Open Source Community (ID: oschina2013) Recently, Tencent engineer Kairui Song submitted a new patch to the Linux kernel mailing list, proposing the introduction of a new architecture called Swap Table, which integrates swap cache, swap mapping, and swap allocator into a new backend infrastructure. According to reports, the latest … Read more

High-Risk Vulnerability Alert: Linux Kernel XFRM Double Free Vulnerability CVE-2025-38500

High-Risk Vulnerability Alert: Linux Kernel XFRM Double Free Vulnerability CVE-2025-38500

Vulnerability Description: In the XFRM interface, the collect_md attribute can only be set during device creation. Therefore, if change_link() is called on an interface of type collect_md, it should directly return a failure. However, the check that was originally intended to enforce this restriction is only performed when locate() returns xi, but locate() itself does … Read more

Linux102: Analysis of ramdisk.c in Linux Kernel 0.11

Linux102: Analysis of ramdisk.c in Linux Kernel 0.11

Public Account “Focus on Linux”, dedicated to Linux kernel development The Linux102 series will detail 102 files in version 0.11 of Linux. This article discusses the source code of the 45th file, <span>【Linux102】45-kernel/blk_drv/ramdisk.c</span>. 1. Main Function of ramdisk.c This is a memory virtual disk driver, written by Theodore Ts’o. It means that: If RAMDISK is … Read more

Strictness of Linux Kernel Maintainers

Strictness of Linux Kernel Maintainers

This article mainly introduces personal experiences in the community and some interesting anecdotes observed from subscription emails. # Krzysztof Wilczyński I have also been deeply affected by this maintainer, not just me, but also my colleagues in the company, and over 100 to 500 people in the community who have experienced patches being commented on … Read more