Kernel security and update policy for post-release trees

This document describes the process and criteria for post-release kernel updates. The kernel is a very complex source package, and it is fundamentally different than other packages in the archive. The described process and criteria are built on the normal StableReleaseUpdates document, and where these documents conflict, this document takes precedence.

What sort of updates are allowed for post-release kernels?

In addition to the generic SRU requirements, we will accept patches which fall into any of the following categories:

  1. It fixes a critical issue (data-loss, OOPs, crashes) or is security related. Security related issues might be covered by security releases which are special in handling and publication.
  2. Simple, obvious and short fixes or hardware enablement patches. If there is a related upstream stable tree open (see below) this class of patches is required to come through the upstream process. Patches sent upstream for that reason must include their BugLink reference.

  3. The patch is included in a corresponding upstream stable or extended stable release. For the lifetime of both LTS and non-LTS releases we will be pulling upstream stable updates from the corresponding series. There will be one tracking bug report for each stable update but additional references to existing bugs will be added to the contained patches (on best can do base).
  4. Fixes to drivers which are not upstream are accepted directly if they fall into the first two categories.
  5. $DEITY intervention. Might happen, but very very rarely and will not be explainable.

How does the process work?

  • First step for every SRU is to have a bug associated.
  • The patch or patches must contain the link to the Launchpad bug and contain a Signed-off-by line from the submitter. Please refer to for detailed information regarding Ubuntu Kernel SRU patch formatting.

  • The beginning of the description area of the bug needs to have a SRU justification which should look like this example:

        SRU Justification:
        Impact: <a short description about the symptoms and the impact of the bug>
        Fix: <how was this fixed, where did the fix come from>
        Testcase: <how can the fix be tested>
  • If the fix for a problem meets the requirements for a SRU and has also been tested to successfully solve the bug, then the next step depends on whether the fix is serious enough to be directly applied an Ubuntu kernel series or whether it should go in via upstream stable (as long as that is appropriate).
  • For serious problem fixes, the patch must be sent the the kernel-team mailing list. There is requires ACKs from two senior kernel-team members and then will be applied to the Ubuntu kernel tree. Even though going into the tree on the faster path, the next step should also be done.

        Subject: [<series>] SRU: <bug/patch title>
        <SRU justification copied from the bug>
        <patch attached or pull request>
  • For all other patches (as long as the upstream stable is appropriate) the fix has to be sent upstream (when the problem is there as well and the patch is not a backport) and to (if it has not been sent there before). As soon as that is accepted there, it will come back its way when we pull stable updates.

How will updates be provided in the archive?

  • Security updates will be uploaded directly into -security without other changes. This just requires a temporary GIT fork which will be immediately merged back into the main branch for that stable release.
  • Normal updates will be provided as pre-releases through the kernel-ppa users PPA. At certain points those get made into proposed releases which are uploaded to the proposed pocket. Then again they have to get verified to fix the problems and not to cause regressions.

KernelTeam/KernelUpdates (last edited 2013-09-19 16:48:55 by leannogasawara)