Kubernetes

Kubernetes issue (Dec 1): Kubernetes Memory Manager uint64 Underflow and Missing Hugepage Reservation

high

Is it fixed? Not yet.

Ongoing since Dec 1, 13:07 UTC. First reported Dec 1, 13:07 UTC.

What happened

When PodLevelResources and PodLevelResourceManagers are enabled with the Memory Manager Static policy and Topology Manager pod scope, admitting a Guaranteed Pod that declares resources at the pod level and hugepages at the container level triggers a uint64 underflow in staticPolicy.AllocatePod. This writes a bogus ~16 EiB state.Block into the pod shared pool for shared containers, which persists to the memory state.

What caused it?

A uint64 underflow occurs in staticPolicy.AllocatePod when hugepages are declared only at the container level while CPU and memory are declared at the pod level under specific policy and scope configurations.

Source: github.com

No verified workaround yet

None of the linked reports describe a mitigation. This page updates when one appears.

Official fix

Outage timeline

  1. Investigating(current)
  2. Workaround available(upcoming)
  3. Resolved(upcoming)
  1. First report on GitHub issue

    memorymanager: uint64 underflow and missing hugepage reservation in AllocatePod when hugepages are only declared at container level

    Source

Reports of this outage

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    memorymanager: uint64 underflow and missing hugepage reservation in AllocatePod when hugepages are only declared at container level(opens GitHub issue in a new tab)

    What happened? With PodLevelResources and PodLevelResourceManagers enabled, the Memory Manager Static policy, and Topology Manager pod scope, admitting a Guaranteed Pod that declares cpu/memory at pod.Spec.Resources while declaring hugepages-* only at the container level causes: A uint64 underflow in staticPolicy.AllocatePod, writing a bogus ~16 EiB (18446744072635809792 bytes for a 1Gi hugepage request) state.Block into the pod shared pool for shared containers (persisted to the memory…

    by AutuSnow 0upvotes 3comments

Kubernetes issue FAQ

What happened in the Kubernetes issue, and why?

Ongoing since Dec 1, 13:07 UTC. The cause: A uint64 underflow occurs in staticPolicy.AllocatePod when hugepages are declared only at the container level while CPU and memory are declared at the pod level under specific policy and scope configurations.

What is affected by the Kubernetes issue?

Kubernetes.

When did the Kubernetes issue start and end?

It started Dec 1, 13:07 UTC and is still ongoing (2 d 11 h so far). This page updates as it develops.

How do I get alerts for Kubernetes?

Subscribe to the Kubernetes RSS feed for every new Kubernetes incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Kubernetes is down. Kubernetes feed

Where does this information come from?

WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.