Linux Kernel Character Module (Part II)

Linux Kernel Character Module (Part II)

Linux Kernel Character Module (Part II) 1. Registering Device Numbers In the Linux kernel, device numbers are the core identifiers for character devices and block devices, consisting of a major device number and a minor device number. Device number management is fundamental to driver development, and below I will analyze the Linux device number registration … Read more

Shocking! A 16-Year-Old Vulnerability Lurking in the Linux Kernel

Shocking! A 16-Year-Old Vulnerability Lurking in the Linux Kernel

CVE-2021-42008 is a Slab-Out-Of-Bounds Write vulnerability in the Linux 6pack driver, caused by a lack of size validation checks in the decode_data function. Malicious input from a process with CAP_NET_ADMIN capabilities may lead to an overflow of the Cooked_buf field in the Sixpack structure, resulting in kernel memory corruption. If exploited correctly, this could lead … Read more

Comprehensive Analysis of the Linux Kernel Composition: The Core Architecture of Operating Systems

Comprehensive Analysis of the Linux Kernel Composition: The Core Architecture of Operating Systems

In the rapidly evolving field of information technology, operating systems serve as the cornerstone of the digital world, supporting the efficient operation of various devices and software. Among the vast landscape of operating systems, Linux shines with its unique charm. Its open-source nature attracts countless developers worldwide to contribute to its continuous refinement; its high … Read more

Analysis of Linux Kernel Source Code: How sendfile and splice Achieve Zero-Copy

Analysis of Linux Kernel Source Code: How sendfile and splice Achieve Zero-Copy

Previously, we introduced several Linux zero-copy technologies, among which sendfile and splice are very similar. Both system calls allow data to be moved/copied directly in kernel space without passing through user space. In this article, we will analyze the kernel source code of these two system calls to see how they achieve zero-copy. 1. Analysis … Read more

Why Typedef is Rarely Used in the Linux Kernel

Why Typedef is Rarely Used in the Linux Kernel

Follow+Star Public Account Number, don’t miss out on exciting contentSource | Embedded Art Have you ever read the source code of the Linux kernel? During the process of<span>Linux</span> driver development, have you encountered such a warning? WARNING: do not add new typedefs Using<span>typedef</span> is not allowed! Although it’s just a warning, if you want to … Read more

Essential Kernel Course for BSP Engineers: 2.5. Inter-Module Dependency Issues and the Principle of EXPORT_SYMBOL

Essential Kernel Course for BSP Engineers: 2.5. Inter-Module Dependency Issues and the Principle of EXPORT_SYMBOL

Adhering to high-quality original content, rejecting content piling, if you like it, click the star above to receive updates promptly, thank you for your attention! We previously learned how to compile and run kernel modules, but in reality, many driver modules are quite complex. Most driver modules consist of multiple files, and there are dependencies … Read more

New Linux Kernel Vulnerability Can Be Exploited Directly Through Chrome Renderer Sandbox

New Linux Kernel Vulnerability Can Be Exploited Directly Through Chrome Renderer Sandbox

Shake Network Technology NewsClick the right to follow for the latest technology news!On August 9, 2025, a high-risk vulnerability numbered CVE-2025-38236 was discovered in the Linux kernel, allowing attackers to escalate privileges from the Chrome renderer sandbox on Linux systems.Google Project Zero researcher Jann Horn found that this vulnerability affects Linux kernel versions 6.9 and … Read more

Hidden Tricks for Linux Performance Optimization: Adjusting Kernel CPU Affinity Parameters

Hidden Tricks for Linux Performance Optimization: Adjusting Kernel CPU Affinity Parameters

Click ▲ to follow “IT168 Enterprise” to pin the public account More exciting content delivered to you first Author: Li Bin, Zhao Xuefeng, Financial Technology Engineers, Special Contributors to the Architect Community! Performance tuning of application services is a critical issue that needs attention before deploying any system. While there are numerous articles discussing tuning … Read more

Linux: Farewell Jammy, Embrace Noble! The Ultimate Upgrade Guide from WSL Ubuntu 22.04 to 24.04 LTS

Linux: Farewell Jammy, Embrace Noble! The Ultimate Upgrade Guide from WSL Ubuntu 22.04 to 24.04 LTS

Hello everyone! If you are like me and a loyal user of the Windows Subsystem for Linux (WSL), you must be impressed by Ubuntu’s performance within it. Many of us may still be using the stable and reliable Ubuntu 22.04 LTS (Jammy Jellyfish). But now, an exciting new era has arrived—Ubuntu 24.04 LTS (Noble Numbat) … Read more

Is the Design of the Linux Kernel Outdated?

Is the Design of the Linux Kernel Outdated?

(Click the public account above to quickly follow) Compiled by: Open Source China www.oschina.net/news/84807/is-linux-kerne-design-outdated The achievements of Linux over the years are undeniable. However, recently, a topic was raised on Reddit asking whether the design of the Linux kernel is outdated, which garnered some interesting responses. The user Ronis_BR posed the question as follows: Linux … Read more