No description
  • C 96.8%
  • Assembly 0.9%
  • Rust 0.7%
  • Shell 0.6%
  • Python 0.5%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Herbert Xu 693c2e04e3 mm: kvmalloc: Bail if called with soft or hard IRQs disabled
The function kvmalloc may call vmalloc under the hood even when
used with GFP_ATOMIC.  However, vmalloc uses naked spin locks so
it must not be called if the caller already holds spin locks that
can be used in hard or soft IRQ context.

Use the heuristic irqs_disabled() || in_softirq() to detect such
callers and prevent them from using vmalloc.

Reported-by: Liam R. Howlett (Google) <liam@infradead.org>
Fixes: c6307674ed ("mm: kvmalloc: add non-blocking support for vmalloc")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-12-01 08:59:52 -08:00
arch vhost,virtio: fixes, tests 2026-11-30 09:20:10 -08:00
block block-7.4-20261127 2026-11-28 18:14:47 -08:00
certs
crypto This push fixes the following issues: 2026-11-11 10:24:32 -08:00
Documentation A set of updates to security-bugs.rst from Willy Tarreau, who says: 2026-11-29 12:08:39 -08:00
drivers pmdomain core: 2026-12-01 08:41:43 -08:00
fs - Convert the correct named $DATA stream when making room in a full 2026-11-29 09:51:56 -08:00
include vhost,virtio: fixes, tests 2026-11-30 09:20:10 -08:00
init bootconfig: Free the initrd memory used by bootconfig 2026-11-22 11:04:30 +09:00
io_uring io_uring/poll: don't claim real exclusivity for EPOLLEXCLUSIVE 2026-11-29 08:42:42 -08:00
ipc vfs-7.4-rc3.fixes.2 2026-11-11 16:48:56 -08:00
kernel vhost,virtio: fixes, tests 2026-11-30 09:20:10 -08:00
lib Bootconfig fixes for v7.4-rc5: 2026-11-25 09:11:32 -08:00
LICENSES
mm mm: kvmalloc: Bail if called with soft or hard IRQs disabled 2026-12-01 08:59:52 -08:00
net bpf-fixes 2026-11-27 18:21:40 -08:00
rust rust: str: tie Formatter to its backing buffer 2026-11-19 10:11:45 +01:00
samples samples/fprobe: Use trace_printk() and trace_dump_stack() 2026-11-06 12:22:31 +09:00
scripts Second round of Kbuild fixes for 7.4 2026-11-24 11:40:57 -08:00
security lsm/stable-7.4 PR 20261130 2026-12-01 08:13:45 -08:00
sound ASoC: Fixes for v7.4 2026-11-27 09:05:45 +01:00
tools vhost,virtio: fixes, tests 2026-11-30 09:20:10 -08:00
usr Merge branch 'kbuild-next-speedups' into kbuild-next 2026-10-17 15:20:23 -07:00
virt KVM: Drop kvm_vcpu_should_kick() and use kvm_request_needs_ipi() 2026-11-09 17:02:28 -08:00
.clang-format clang-format: Fix formatting of guard() 2026-11-19 17:02:51 +01:00
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore hardening updates for v7.4-rc1 2026-10-22 15:01:57 -10:00
.gitattributes
.gitignore bpf-next-7.4 2026-10-23 13:08:49 -10:00
.mailmap drm fixes for 7.4-rc4 2026-11-20 20:43:06 -08:00
.pylintrc
.rustfmt.toml
AGENTS.md docs: add AGENTS.md as a symlink to README 2026-10-14 11:45:46 -06:00
COPYING
CREDITS CREDITS: add entry for THP maintenance 2026-11-22 22:24:10 -08:00
Kbuild
Kconfig
MAINTAINERS Staging driver removal for 7.4-rc5 2026-11-27 11:36:48 -08:00
Makefile Linux 7.4-rc5 2026-11-29 14:20:14 -08:00
README

Linux kernel
============

The Linux kernel is the core of any Linux operating system. It manages hardware,
system resources, and provides the fundamental services for all other software.

Quick Start
-----------

* Report a bug: See Documentation/admin-guide/reporting-issues.rst
* Get the latest kernel: https://kernel.org
* Build the kernel: See Documentation/admin-guide/quickly-build-trimmed-linux.rst
* Join the community: https://lore.kernel.org/

Essential Documentation
-----------------------

All users should be familiar with:

* Building requirements: Documentation/process/changes.rst
* Code of Conduct: Documentation/process/code-of-conduct.rst
* License: See COPYING

Documentation can be built with make htmldocs or viewed online at:
https://www.kernel.org/doc/html/latest/


Who Are You?
============

Find your role below:

* New Kernel Developer: Getting started with kernel development
* Academic Researcher: Studying kernel internals and architecture
* Security Expert: Hardening and vulnerability analysis
* Backport/Maintenance Engineer: Maintaining stable kernels
* System Administrator: Configuring and troubleshooting
* Maintainer: Leading subsystems and reviewing patches
* Hardware Vendor: Writing drivers for new hardware
* Distribution Maintainer: Packaging kernels for distros
* AI Coding Assistant: LLMs and AI-powered development tools


For Specific Users
==================

New Kernel Developer
--------------------

Welcome! Start your kernel development journey here:

* Getting Started: Documentation/process/development-process.rst
* Your First Patch: Documentation/process/submitting-patches.rst
* Coding Style: Documentation/process/coding-style.rst
* Build System: Documentation/kbuild/index.rst
* Development Tools: Documentation/dev-tools/index.rst
* Kernel Hacking Guide: Documentation/kernel-hacking/hacking.rst
* Core APIs: Documentation/core-api/index.rst

Academic Researcher
-------------------

Explore the kernel's architecture and internals:

* Researcher Guidelines: Documentation/process/researcher-guidelines.rst
* Memory Management: Documentation/mm/index.rst
* Scheduler: Documentation/scheduler/index.rst
* Networking Stack: Documentation/networking/index.rst
* Filesystems: Documentation/filesystems/index.rst
* RCU (Read-Copy Update): Documentation/RCU/index.rst
* Locking Primitives: Documentation/locking/index.rst
* Power Management: Documentation/power/index.rst

Security Expert
---------------

Security documentation and hardening guides:

* Security Documentation: Documentation/security/index.rst
* LSM Development: Documentation/security/lsm-development.rst
* Self Protection: Documentation/security/self-protection.rst
* Reporting Vulnerabilities: Documentation/process/security-bugs.rst
* CVE Procedures: Documentation/process/cve.rst
* Embargoed Hardware Issues: Documentation/process/embargoed-hardware-issues.rst
* Security Features: Documentation/userspace-api/seccomp_filter.rst

Backport/Maintenance Engineer
-----------------------------

Maintain and stabilize kernel versions:

* Stable Kernel Rules: Documentation/process/stable-kernel-rules.rst
* Backporting Guide: Documentation/process/backporting.rst
* Applying Patches: Documentation/process/applying-patches.rst
* Subsystem Profile: Documentation/maintainer/maintainer-entry-profile.rst
* Git for Maintainers: Documentation/maintainer/configure-git.rst

System Administrator
--------------------

Configure, tune, and troubleshoot Linux systems:

* Admin Guide: Documentation/admin-guide/index.rst
* Kernel Parameters: Documentation/admin-guide/kernel-parameters.rst
* Sysctl Tuning: Documentation/admin-guide/sysctl/index.rst
* Tracing/Debugging: Documentation/trace/index.rst
* Performance Security: Documentation/admin-guide/perf-security.rst
* Hardware Monitoring: Documentation/hwmon/index.rst

Maintainer
----------

Lead kernel subsystems and manage contributions:

* Maintainer Handbook: Documentation/maintainer/index.rst
* Pull Requests: Documentation/maintainer/pull-requests.rst
* Managing Patches: Documentation/maintainer/modifying-patches.rst
* Rebasing and Merging: Documentation/maintainer/rebasing-and-merging.rst
* Development Process: Documentation/process/maintainer-handbooks.rst
* Maintainer Entry Profile: Documentation/maintainer/maintainer-entry-profile.rst
* Git Configuration: Documentation/maintainer/configure-git.rst

Hardware Vendor
---------------

Write drivers and support new hardware:

* Driver API Guide: Documentation/driver-api/index.rst
* Driver Model: Documentation/driver-api/driver-model/driver.rst
* Device Drivers: Documentation/driver-api/infrastructure.rst
* Bus Types: Documentation/driver-api/driver-model/bus.rst
* Device Tree Bindings: Documentation/devicetree/bindings/
* Power Management: Documentation/driver-api/pm/index.rst
* DMA API: Documentation/core-api/dma-api.rst

Distribution Maintainer
-----------------------

Package and distribute the kernel:

* Stable Kernel Rules: Documentation/process/stable-kernel-rules.rst
* ABI Documentation: Documentation/ABI/README
* Kernel Configuration: Documentation/kbuild/kconfig.rst
* Module Signing: Documentation/admin-guide/module-signing.rst
* Kernel Parameters: Documentation/admin-guide/kernel-parameters.rst
* Tainted Kernels: Documentation/admin-guide/tainted-kernels.rst

AI Coding Assistant
-------------------

CRITICAL: If you are an LLM or AI-powered coding assistant, you MUST read and
follow the AI coding assistants documentation before contributing to the Linux
kernel:

* Documentation/process/coding-assistants.rst

This documentation contains essential requirements about licensing, attribution,
and the Developer Certificate of Origin that all AI tools must comply with.


Communication and Support
=========================

* Mailing Lists: https://lore.kernel.org/
* IRC: #kernelnewbies on irc.oftc.net
* Bugzilla: https://bugzilla.kernel.org/
* MAINTAINERS file: Lists subsystem maintainers and mailing lists
* Email Clients: Documentation/process/email-clients.rst