<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kernel Security on Nalar</title>
    <link>https://nalar.dev/tags/kernel-security/</link>
    <description>Recent content in Kernel Security on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 18 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/kernel-security/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>io_uring Restrictions Freeze an Allowed Operation Surface Before Ring Activation</title>
      <link>https://nalar.dev/io-uring-restrictions-freeze-an-allowed-operation-surface-before-ring-activation/</link>
      <pubDate>Fri, 18 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/io-uring-restrictions-freeze-an-allowed-operation-surface-before-ring-activation/</guid>
      <description>&lt;p&gt;A service can expose an &lt;code&gt;io_uring&lt;/code&gt; instance to code that should perform only a narrow class of asynchronous operations. The ring itself, however, supports many submission opcodes and registration commands. Relying only on application code to avoid unwanted operations leaves the allowed surface as a convention rather than a kernel-enforced property.&lt;/p&gt;&#xA;&lt;p&gt;Linux provides a tighter mechanism through &lt;code&gt;IORING_REGISTER_RESTRICTIONS&lt;/code&gt;. A ring created with &lt;code&gt;IORING_SETUP_R_DISABLED&lt;/code&gt; can receive a restriction set before it becomes usable for submissions. The process then enables the ring with &lt;code&gt;IORING_REGISTER_ENABLE_RINGS&lt;/code&gt;. From that point, the kernel evaluates operations against the registered restrictions.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Landlock Rulesets Add a Process-Scoped Filesystem Access Boundary</title>
      <link>https://nalar.dev/landlock-rulesets-add-a-process-scoped-filesystem-access-boundary/</link>
      <pubDate>Fri, 18 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/landlock-rulesets-add-a-process-scoped-filesystem-access-boundary/</guid>
      <description>&lt;p&gt;A service can begin with ordinary filesystem permissions that are broader than the files it needs during steady-state operation. Changing ownership or mount topology may be impractical because the same host resources are shared with other processes. Linux Landlock addresses this gap by letting a process add a kernel-enforced access restriction to itself and, through inheritance, to descendants.&lt;/p&gt;&#xA;&lt;p&gt;Landlock is a Linux Security Module designed for sandboxing. Its rules do not grant filesystem access that DAC, ACLs, capabilities, or another security mechanism would otherwise deny. They add another authorization layer. An operation succeeds only when the other applicable controls and the Landlock policy permit it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Seccomp User Notification Moves Selected System Calls Behind a Supervisor Decision</title>
      <link>https://nalar.dev/seccomp-user-notification-moves-selected-system-calls-behind-a-supervisor-decision/</link>
      <pubDate>Fri, 18 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/seccomp-user-notification-moves-selected-system-calls-behind-a-supervisor-decision/</guid>
      <description>&lt;p&gt;A sandboxed process may need an operation that cannot be represented safely as a permanent seccomp allow rule. The operation can depend on runtime policy, external state, or a resource that only a more privileged component should inspect. Allowing the system call unconditionally widens the sandbox, while rejecting it removes required functionality.&lt;/p&gt;&#xA;&lt;p&gt;Linux seccomp user notification provides a mediation point for this case. A seccomp filter can return &lt;code&gt;SECCOMP_RET_USER_NOTIF&lt;/code&gt; for selected calls. The kernel then blocks the triggering task and emits a notification through a listener file descriptor. A supervisor reads that notification and sends a response that determines the immediate disposition of the intercepted call.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
