Author Archives: Carles Mateo

Showing the exploting Copy Fail CVE-2026-31431 in an Ubuntu 24.04 just launched in Google Cloud, and how to fix it

So I show here how I launched a fresh Ubuntu 24.04 in Google Cloud, on 2026-05-04, and demostrate the exploit of escalation privileges Copy Fail (CVE-2026-31431) which allows you to become root from a regular user account in almost any Linux since year 2017.

It consists in the execution of a Python 3 code, which is only 732 bytes.

I show how I fixed it by upgrading the kernel and rebooting.

Here you can see the original tweet I saw: https://x.com/DarkWebInformer/status/2049579219190165658?s=20

And access the code: https://github.com/theori-io/copy-fail-CVE-2026-31431

I also tried on a fresh deployed Ubuntu 26.04 LTS and it was not affected by the exploit.

Vibe coding with Google Antigravity, new features, to a project, in real time

This video shows real example of my workflow, in real time, on how I programmed with Google Antigravity some new features, like adding discount coupons, for my commercial web project for quickly audio conversion https://audioconverter.carlesmateo.com/

I show some problems when working with Gemini 3 Flash, and how I instructed the IA to fix them.

Sudo problems in Ubuntu 26.04 LTS with Google Cloud: I’m sorry user. I’m afraid I can’t do that

I show in the video, how briefly after using sudo, it stops working.

I did this proof of concept and, I got the same problem:

sleep 300 && sudo cat /etc/lsb-release

Checking with:

id -nG

clearly showed that my user is part of google-sudoers But then:

journalctl -u google-guest-agent -f

Displays:

Apr 26 17:54:07 ubuntu26-04 google_guest_agent[851]: Adding existing user carles_mateo to google-sudoers group.
Apr 26 17:54:07 ubuntu26-04 gpasswd[89648]: user carles_mateo added by root to group google-sudoers
Apr 26 17:54:07 ubuntu26-04 google_guest_agent[851]: Updating keys for user carles_mateo.
Apr 26 17:54:11 ubuntu26-04 google_guest_agent[851]: Updating keys for user carles_mateo.
Apr 26 17:57:11 ubuntu26-04 google_guest_agent[851]: ERROR non_windows_accounts.go:219 invalid ssh key entry - expired key: carles_mateo:...google-ssh {"userName":"carles.mateo@gmail.com","expireOn":"2026-04-26T17:57:05+0000"}
Apr 26 17:57:11 ubuntu26-04 google_guest_agent[851]: ERROR non_windows_accounts.go:219 invalid ssh key entry - expired key: carles_mateo:ssh-rsa...
Apr 26 17:57:11 ubuntu26-04 google_guest_agent[851]: Removing user carles_mateo.
Apr 26 17:57:11 ubuntu26-04 gpasswd[89736]: user carles_mateo removed by root from group google-sudoers

Installing Ubuntu 26.04 LTS in Google Cloud Compute Engine

The video shows step by step how to create an Instance in Google Cloud Compute Engine of the type e2, increase the size of the disk, and install Ubuntu 26.04 LTS Server.

Also shows how the new htop looks, with new IO options.

You know that utilites from coreutils have been rewriten in Rust, like sudo. I was wondering if it would work well. I thoguht I was encountering the first problems, after I experienced that when launched sudo, like in example, a sudo apt install package , sudo then stops working and I’ve to exit the shell and relogin.

I found that it is Google Cloud that removes my user from google-sudoers after 3 minutes.

I explain it in here.

Solving silent exit error on eZ Launchpad

You have installed eZ Launchpad, and you can execute the binary ez from your home folder or other paths, however when you execute it from a project folder you cloned with git (with its .platform.app.yaml file) ez returns to prompt without any error message.

The exit code is 255, but even if you strace the process you don’t find the exact problem.

Inside your project you run ez without any argument in a clean install of Ubuntu 24.04 LTS with PHP 8.3, or with PHP 8.4, without xDebug, without opcache, without memory limit… nothing works with no visible error message in the logs or in the error output. However if you run it outside the project folder, it works, and it displays the typical help messages.

I reproduced this behavior on several Ubuntu computers. The fix I found is to execute ez with PHP 8.1

You can install PHP8.1 from ondrej repository, then you can update alternates to execute PHP 8.1 by default in your system, or you create the project by invoking ez with PHP 8.1 explicitly with:

php8.1 ~/ez create

This will kickstart the creation of your ez project based on Docker containers.

RAB El nou món digital 2022-11-14 [CA]

Aquest és el guió per al proper programa El nou món digital a Ràdio Amèrica Barcelona, que s’emet els Dilluns a les 10:30 Ireland Time / 11:30 Zona horària Catalunya / 02:30 Pacific Time.

Disclaimer: Treballo per a Activision Blizzard. Totes les opinions són meves i no representen cap companyia.


This is the excerpt of my radio program at Radio America Barcelona that airs on Mondays 10:30 Irish Time / 11:30 Catalonia Time / 02:30 Pacific Time.

Disclaimer: I work for Activision Blizzard. Opinions are my own. My opinions do not represent any company.

Aquesta és la pàgina del proper programa de la setmana del 14 de Novembre de 2022.

This is the page of the upcoming program of 14th November’s 2022 week.

Actualitat

Entreteniment

Ecologia

Trucs de telèfons

  • Un truc per a seleccionar un text, o un pàrraf, d’un text, al mòbil. Es tracta de prèmer amb el dit sobre la pantalla durant dos segons, sobre la paraula que volem copiar. Llavors paraula se’ns selecciona i podem Copiar i Enganxar, o fer d’altres accions com cercar-la a google. També podrem estirar unes boletes que delimiten el text per a cercar per a un pàrraf més gran.

Per a següents programes…

Seguretat

  • Desactivar sempre el Bluetooth del mòbil, de l’ordinador i del cotxe quan no el fem servir.
    • No només estalviarem bateria, també ens podem estalviar algun hackeig.
    • Utilitzar auriculars amb cable és molt més segur.

Trucs

  • Desactivar el Caller ID
    • En Android:

Step 1: On the Home Screen, tap Phone.

Step 2: Press the left menu button and tap Settings.

Step 3: Under Call settings, tap Supplementary services.

Step 4: Tap Caller ID to turn it on or off.

Entreteniment

Videojocs

Nerd Culture

Internet / Societat

Actualitat

Trucs

  • Si s’us omple el mòbil, podeu posar una tarja micro SD, que val uns 20€ per a una de 64GB/128GB.
  • També podeu passar les fotos a l’ordinador, o a un disc dur extern.
  • Fer una captura de pantalla:

Windows

  • Impr Pant, Alt Impr i enganxem a una aplicació com Paint o GIMP

Linux

  • Impr Pant, Alt Impr Pant, Shift Impr

Android: 

  • Cerca a Google per al teu model.
  • Prem tecla de baixar el volum i d’encendre el mòbil a la mateixa hora. I mantent-los pulsats durant mig segon.

iPhone:

  • 13 i altres amb face id: Prem: el botó del costat i el de pujar el volum a l’hora.
  • Models amb touch id: Prem el botó de home, el rodonet, i el del costat (power).
  • Els que tenen el botó a dalt, han de prèmer el botó de dalt i home.
  • iPhone 12

https://support.apple.com/en-ie/HT200289

Dones en ciència i tecnologia

  • Ada Lovelace

Trucs de Zoom

  • Un Zoom és un sistema de videoconferència que s’utilitza molt en teletreball a les empreses.
  • Es pot utilitzar gratuïtament, amb un límit de temps per cada trucada. Ara fa poc s’ha limitat el temps de persones individuals a 45 minuts, fins ara era il·limitat i s’emprava molt per professors, terapeutes, particulars…
  • Jo uso la versió professional per a les meves classes i pago 18€ al mes i puc donar classes a 100 persones sense límit de temps.
  • Es pot compartir la pantalla. I es pot demanar control remot. L’altre t’ha d’autoritzar.
    • S’empra molt per a presentacions.
    • També per a jugar a jocs amb amics.
    • Per a arreglar l’ordinador a la tieta.
  • També es pot dibuixar a la pantalla de l’atri, posar fletxes i textes. La opció es diu Annotate.
  • Per a evitar problemes amb l’aúdio es recomana connectar un headset (auriculars amb micròfon). A TV3 s’ha pogut veure molta gent amb problemes d’aúdio acoplant-se per no emprar auriculars i micro.
  • També es pot difuminar la imatge de fons o posar una imatge o un vídeo de fons
  • Pots posar mute (Desactivar Aúdio) i parar la imatge (Detenir Vídeo)
  • Es pot enregistrar vídeo. Molt útil per a classes, per a que els estudiants puguin tornar a repassar la lliçó després.

Trucs de Mòbils

Copiar i Enganxar:

  • És possible seleccionar text, copiar i enganxar apretant amb el dit sobre el text durant dos o tres segons. Un menu se’ns obrirà i també dues boletes ens indicaran el principi i el final del text seleccionat.

Trucs per a trobar feina

  • LinkedIn
  • Estudiar una carrera
    • Es pot fer de tardes, remotament, per Internet
    • S’aprèn molt
    • Es fan bons contactes
    • Alguns govers (Irlanda, Escòcia…) te la financen/subsidien.
  • Estudiar un curs de programació
    • La Generalitat de Catalunya fa cursos gratuïts per a aturats

Temes proposats per a següents programes

  • La importància de LinkedIn en la estratègia per a trobar feina. Trucs i consells.
  • Aprèn a programar i canvia la teva trajectoria laboral. Trucs, consells, històries d’èxit.
  • Trucs per a utilitzar programes més eficientment:
    • Cercar textes dins pàgines webs i documents
    • Copiar, enganxar
  • Utilitzar google docs per a treballar en un document conjuntament
  • Compartir arxius i vídeos amb Google Drive
  • Ergonomia, com usar un monitor extern, teclat i ratolí, pot fer desaparèixer el mal de coll. Emprar llum addient i una bona cadira.
  • La importància de les còpies de seguretat. Tenir les còpies distribuïdes geogràficament per estratègies de disaster and recovery.
  • Com alliberar espai al mòbil. Passar fotos a una tarja SD o a l’ordinador. Arxius que guarda Whatsapp i mai allibera.
  • Com emprar negreta, cursiva, i marcar un bloc de codi a WhatsApp.
  • L’experiència dels estudiants a la universitat i masters, costos, països que subvencionen.
    • Irlanda
    • Escòcia
  • Resolució de preguntes. Envia la teva pregunta a l’equip del programa i la resoldrem en un proper programa.

Programes anteriors

Programa anterior: RAB El nou món digital del Dilluns 31 d’Octubre de 2022 [CA]

Tots els programes: RAB