Skip to content

Linux kernel

The kernel at the heart of every Linux system.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

AI-assisted kernel contributions are accepted as long as the tool use is disclosed in cover letters and changelogs, a human reviews the output, signs off the DCO and can explain and defend everything submitted. AI agents may never sign off or send anything themselves, and maintainers may reject or closely scrutinize heavily generated work.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility
  • A human must review the output
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Friendly
  • Contributor takes full responsibility
  • A human must review the output
AI-written textPull request descriptions, issue comments and summaries written by AI.
Mostly friendly
  • AI use must be disclosed

What is allowed and what is not

Code contributions

Not covered by the policy (4)

Translating the software, Images and media, Research and learning, Checking own work.

Issues & bug reports

  • Finding bugs with AI · Allowed with conditions

    AI may find and fix bugs only by following the full procedure: read the process docs, verify with a reproducer, write and test the fix, and say explicitly what could not be done.

    • Disclose AI use: Note in the changelog that a tool found the problem
    • Review AI output first: Reproduce the bug, build and test the fix, drop fixes that fail, and state what could not be done
    • Take full responsibility: The reporter reviews the result and sends it; the assistant never sends anything
    7 quotes

    When an AI assistant is used to find and fix bugs, it MUST follow at least these steps:

    AI Coding Assistants — The Linux Kernel documentation

    Before starting, read the whole process documentation listed above, as well as any other document mentioned in the request. Do not rely on isolated parts found by keyword search.

    AI Coding Assistants — The Linux Kernel documentation

    For any bug found that is not trivial, verify that it looks real by attempting to create a reproducer to demonstrate it.

    AI Coding Assistants — The Linux Kernel documentation

    Write a fix for the bug. This part is not optional: except in a few very rare cases, an AI assistant able to find a bug is able to fix it.

    AI Coding Assistants — The Linux Kernel documentation

    Build and verify that the fix works either using the reproducer or by re-running a complete analysis; drop any fix that doesn’t work and try another one.

    AI Coding Assistants — The Linux Kernel documentation

    Indicate what could not be done. If the fix could not be built or tested, or if no reproducer could be produced, say so explicitly: maintainers currently waste too much time analyzing unverified reports and untested fixes.

    AI Coding Assistants — The Linux Kernel documentation

    Detection of a problem and testing the fix for it is also part of the development process; if a tool was used to find a problem addressed by a change, that should be noted in the changelog.

    Kernel Guidelines for Tool-Generated Content — The Linux Kernel documentation
  • AI-written reports · Allowed with conditions

    AI may draft bug reports and fix messages, but the human reporter must review the result and send it personally.

    • Review AI output first: Leave the result to the reporter for review before sending
    • Take full responsibility: The assistant must never send anything itself; the reporter sends
    2 quotes

    Indicate what could not be done. If the fix could not be built or tested, or if no reproducer could be produced, say so explicitly: maintainers currently waste too much time analyzing unverified reports and untested fixes.

    AI Coding Assistants — The Linux Kernel documentation

    Read The Linux Kernel threat model to determine whether the bug is a vulnerability or a regular bug, and leave the result to the reporter for review (the assistant must never send anything itself).

    AI Coding Assistants — The Linux Kernel documentation
  • Security reports · Allowed with conditions

    AI-found vulnerabilities must be classified against the kernel threat model and handed to the human reporter, who sends the report.

    • Review AI output first: Classify with the kernel threat model and leave the result to the reporter for review
    2 quotes

    Indicate what could not be done. If the fix could not be built or tested, or if no reproducer could be produced, say so explicitly: maintainers currently waste too much time analyzing unverified reports and untested fixes.

    AI Coding Assistants — The Linux Kernel documentation

    Read The Linux Kernel threat model to determine whether the bug is a vulnerability or a regular bug, and leave the result to the reporter for review (the assistant must never send anything itself).

    AI Coding Assistants — The Linux Kernel documentation
Not covered by the policy (1)

Bots filing issues.

AI-written text

Not covered by the policy (7)

Comments, Answering reviewers, Reviewing others' work, Forum and list posts, Quoting AI output, Summarizing discussions, Bots posting.

General

Sources