linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] SECURITY: Add top-level security doc
@ 2026-08-25  8:55 Bastien Nocera
  2026-08-25  8:55 ` [PATCH 1/2] " Bastien Nocera
  2026-08-25  8:55 ` [PATCH 2/2] doc: Remove obsolete security-bugs.rst Bastien Nocera
  0 siblings, 2 replies; 5+ messages in thread
From: Bastien Nocera @ 2026-08-25  8:55 UTC (permalink / raw)
  To: linux-bluetooth

With reviews from Marco Benatto, Senior Product Security Engineer
at Red Hat.

Bastien Nocera (2):
  SECURITY: Add top-level security doc
  doc: Remove obsolete security-bugs.rst

 SECURITY.md           | 88 ++++++++++++++++++++++++++++++++++++++++++
 doc/security-bugs.rst | 89 -------------------------------------------
 2 files changed, 88 insertions(+), 89 deletions(-)
 create mode 100644 SECURITY.md
 delete mode 100644 doc/security-bugs.rst

-- 
2.55.0


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [BlueZ, v2 1/2] SECURITY: Add top-level security doc
@ 2026-08-26 13:19 Bastien Nocera
  2026-08-26 14:33 ` bluez.test.bot
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2026-08-26 13:19 UTC (permalink / raw)
  To: linux-bluetooth

This will replace the existing documentation written 5 years ago to take
into account the new tools and the new rules around dealing with
security issues.

The new workflow replaces email-based reporting with the GitHub security
advisory tools, explains the CVE ID assignment process, and places strict
limits on the amount of work that can be demanded from BlueZ developers.

It is customary in 2026 to have a top-level SECURITY.md file which
explains the vulnerability workflow.
---
 SECURITY.md | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)
 create mode 100644 SECURITY.md

diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 000000000000..9a2c2daf5c01
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,92 @@
+# Security Policy
+
+## How to Report a Potential Vulnerability?
+
+If you are reporting a not-yet released or urgent issue, please file a draft
+security advisory at
+[https://github.com/bluez/bluez/security/advisories](https://github.com/bluez/bluez/security/advisories),
+containing as many details as possible, including the version affected, and
+any ways to reproduce or fix the problem.
+
+## AI usage
+
+If the vulnerability was found using AI assistance the reporter needs to
+disclose that within the report, also needs to mention which AI was used
+during the processes.
+
+## Embargoed vulnerabilities
+
+All security advisories filed through GitHub will be embargoed until
+either a fix is available in the [main BlueZ repository](https://git.kernel.org/pub/scm/bluetooth/bluez.git/)
+([mirror](https://github.com/bluez/bluez/)), or it has been made public
+by a third-party.
+
+GitHub security advisories have discussion fields, and those discussion fields
+will stay private even after the advisory has been made public. Only trusted
+BlueZ developers will have access to those comments, and unpublished advisories.
+In exceptional circumstances, outside security developers might get access
+to advisories if BlueZ developers find it to be necessary for assessment,
+coordination or publication.
+
+## CVE number assignment
+
+All the vulnerabilities reported through GitHub's security advisories feature
+will be assigned a unique GHSA, which can be used to reference the issue
+externally.
+
+BlueZ maintainers will aim to work with either
+[GitHub](https://docs.github.com/en/code-security/concepts/vulnerability-reporting-and-management/repository-security-advisories#cve-identification-numbers)
+or [Red Hat](https://access.redhat.com/articles/red_hat_cve_program) as CNAs
+to get CVE IDs assigned, on a best effort basis.
+
+Vulnerabilities reported publicly through the linux-bluetooth mailing-list,
+or in any other manner, will not be assigned CVE IDs, and BlueZ maintainers
+will not be working with CNA to get a CVE ID assigned to that vulnerability.
+
+## Disclosure
+
+Once an issue has been discussed privately, accepted as a security issue by
+BlueZ developers, a fix created, and if the severity of the issue is
+high enough (usually only for critical/high), BlueZ developers will aim
+to have distributions forewarned about the issue through the private
+[linux-distros@vs.openwall.org](mailto:linux-distros@vs.openwall.org) mailing-list.
+
+Note that we recommend informing BlueZ developers and working on a fix first,
+before involving the `linux-distros`, as this list has a relatively short
+embargo period which might not allow for much time for the BlueZ developers
+to create and test robust fixes.
+
+We will not be applying any further embargo, or do any restricted disclosure
+for issues that are considered of low or moderate severity.
+
+## Severity assessment
+
+Some Bluetooth functionality is gated behind the `--enable-experimental`
+build option, and behind the `-E/--experimental` command-line option.
+
+When security issues exist in such gated functionality, the security
+level for the issue will be considered as `Low`. This will be done by
+setting the following CVSS fields:
+
+- *Privileges Required*: `High` (requires having an experimental build, and the daemon running as experimental)
+- *Confidentiality*, *Integrity* and *Availability*: `Low`
+
+Reports should take into account the systemd sandboxing features enabled
+in the configuration shipped by BlueZ upstream, if they are applicable
+to the vulnerable portion of the codebase. Issues that only manifest
+themselves when running unsandboxed will have their severity lowered
+as appropriate.
+
+Similarly, Denial-of-Service issues will only be considered as security
+issues if they can be triggered without human intervention, or set up
+on the BlueZ side, otherwise please report those problems as bugs
+using the normal process.
+
+Finally, security issues which are only possible using the root-requiring,
+firmware-stack-and-radio-bypassing vHCI (virtual Bluetooth adapters usually
+used for testing) will not be considered security issues either, just bugs.
+
+## Non-disclosure agreements
+
+The BlueZ developers are not a formal body and therefore unable to enter
+any non-disclosure agreements.
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-26 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25  8:55 [PATCH 0/2] SECURITY: Add top-level security doc Bastien Nocera
2026-08-25  8:55 ` [PATCH 1/2] " Bastien Nocera
2026-08-25  9:53   ` bluez.test.bot
2026-08-25  8:55 ` [PATCH 2/2] doc: Remove obsolete security-bugs.rst Bastien Nocera
  -- strict thread matches above, loose matches on Subject: below --
2026-08-26 13:19 [BlueZ, v2 1/2] SECURITY: Add top-level security doc Bastien Nocera
2026-08-26 14:33 ` bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).